Skip to content

Command-line arguments should take higher precedence than configuration file options #2123

@maxnoe

Description

@maxnoe

Running

simtools-simulate-prod --config simtools/tests/integration_tests/config/simulate_prod_gamma_40_deg_north_check_output.yml --run_number 5

results in:

[simpipe@simpipe-pytest simpipe]$ ls -l simtools-grid-output/
total 8976
-rw-r--r--. 1 simpipe simpipe  588953 Apr 17 10:42 gamma_run000001_za40deg_azm180deg_North_alpha_6.0.2_test.log_hist.tar.gz
-rw-r--r--. 1 simpipe simpipe 8598502 Apr 17 10:42 gamma_run000001_za40deg_azm180deg_North_alpha_6.0.2_test.simtel.zst

I.e. the command line argument did not override the configuration file option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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