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.
I have recently started using the
compas_run_submitutility, and noticed that my--output-containerand--output-pathsettings 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 setCOMPAS_LOGS_OUTPUT_DIR_PATHmakes 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-containerand--output-pathoptions on the YAML file superfluous.On a slightly related note: While looking at the source code I also noticed that the
pythonProgramOptionsclass 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.