def parameters(cls): cls.archives_param = ParameterFactory.archive() cls.job_name_param = ParameterFactory.lc_string(JOB_NAME, "Unique "\ "name to give this " "job.") parameters = [ cls.archives_param, cls.job_name_param, ] return parameters
def parameters(cls): cls._users_param = ParameterFactory.lc_string(USERS, "Username(s) of individual(s) that performed the run (e.g. ddicara)", allow_multiple=True) cls._date_param = ParameterFactory.date() cls._archive_param = ParameterFactory.archive() cls._beta_param = ParameterFactory.integer(BETA, "Beta (e.g. 17)", required=True, minimum=1, maximum=100) cls._device_param = ParameterFactory.cs_string(DEVICE, "Device description (e.g. PDMS bonded on COP)") cls._dye_profile_metrics_param = ParameterFactory.dye_profile_metrics() cls._surfactant_param = ParameterFactory.cs_string(SURFACTANT, "Surfactant (e.g. RAN 002-105).") parameters = [ cls._users_param, cls._date_param, cls._archive_param, cls._beta_param, cls._device_param, cls._dye_profile_metrics_param, cls._surfactant_param, ] return parameters