Skip to content

Output of runSubmit.py #1482

@nrsegovia

Description

@nrsegovia

I have recently started using the compas_run_submit utility, and noticed that my --output-container and --output-path settings are always ignored (a new directory is created wherever the script is run from, using default names). Looking at the source code, it seems that the priority was to develop the utility around docker implementations of COMPAS? And it was assumed that some environment variables would always be set. In my particular case, not having set COMPAS_LOGS_OUTPUT_DIR_PATH makes the script ignore the YAML options and use default values. Of course, I could "fix" the issue by setting those variables, but it would make the --output-container and --output-path options on the YAML file superfluous.

On a slightly related note: While looking at the source code I also noticed that the pythonProgramOptions class allows for extra arguments (random seed and output directory) at initialization, but these are not part of the CLI options. What should be done about them? If they are not meant to be accessible, then there is no need to keep them as arguments.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquestionFurther information is requested

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions