docstr: Turns hopt trial into script params
  :param trial:
  :return:
docstr_tok: ["Turns","hopt","trial","into","script","params",":","param","trial",":",":","return",":"]
code: def __get_hopt_params(self, trial):
      """
      Turns hopt trial into script params
      :param trial:
      :return:
      """
  
      params = []
      for k in trial.__dict__:
          v = trial.__dict__[k]
  
          # don't add None params
          if v is None or v is False:
              continue
  
          # put everything in quotes except bools
          if self.__should_escape(v):
              cmd = '--{} "{}"'.format(k, v)
          else:
              cmd = "--{} {}".format(k, v)
          params.append(cmd)
  
      # this arg lets the hyperparameter optimizer do its thing
      params.append("--{}".format(HyperOptArgumentParser.TRIGGER_CMD))
  
      full_cmd = " ".join(params)
      return full_cmd
  
imports: import datetime
  import os
  import signal
  import sys
  import time
  import traceback
  from subprocess import call
  from .argparse_hopt import HyperOptArgumentParser
label_desc: Use image node_id 14 for calling the SlurmCluster obj's underlying member method code with example usage: obj.__get_hopt_params(trial) and returns: full_cmd