Describe the bug
The issue described here is very specific to a single command line option, but may be a more general trend (I haven't tested other flags).
I want to do a run with ESCN kicks set to 0, while also using a grid file. When both flags are set, the ECSN kicks are not set to 0. However, when the same grid arguments are included on the command line, the ECSN kicks are properly zero'd.
Label the issueurgency_moderate - This is a moderately urgent issue
severity_moderate - This is a moderately severe bug
To Reproduce
For the purposes of a minimum working example, the following single lined gridfile was used to produce a system which will ECSN.
$ py test_ecsn.py COMPAS_Output/COMPAS_Output.h5
The ECSN kick is [36.6312464].
$ py test_ecsn.py COMPAS_Output_1/COMPAS_Output.h5
The ECSN kick is [0.].
It is apparent that the use of a grid file negates the use of the ECSN flag. I'm not sure if this applies to other flags as well.
Expected behavior
The existence of the grid file should not override the command line args.
Versioning (please complete the following information):
The issue here was case-sensitive vs case-insensitive matches (asking BOOST to do case-insensitive matches for option names doesn't propagate to all matches BOOST does...)
the options affected were all options that have mixed-case names:
Describe the bug The issue described here is very specific to a single command line option, but may be a more general trend (I haven't tested other flags).
I want to do a run with ESCN kicks set to 0, while also using a grid file. When both flags are set, the ECSN kicks are not set to 0. However, when the same grid arguments are included on the command line, the ECSN kicks are properly zero'd.
Label the issue
urgency_moderate
- This is a moderately urgent issueseverity_moderate
- This is a moderately severe bugTo Reproduce
For the purposes of a minimum working example, the following single lined gridfile was used to produce a system which will ECSN.
Then the following commands are run:
where the
-n 1
is required because without the grid Compas will run the same binary 10x.A useful python script to quickly see the drawn ECSN kick of this system is:
With commands and output:
It is apparent that the use of a grid file negates the use of the ECSN flag. I'm not sure if this applies to other flags as well.
Expected behavior The existence of the grid file should not override the command line args.
Versioning (please complete the following information):