gammasim / simtools

Tools and applications for the Simulation System of the CTA Observatory.
https://gammasim.github.io/simtools
BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

Apply simplifications and fixes to command line configuration. #1029

Closed GernotMaier closed 3 months ago

GernotMaier commented 3 months ago

PR #1026 introduced a couple of improvements for the command line configuration. This PR applies these improvements to a couple of applications (especially those required to configure layouts).

This PR also fixes a bug in the core scatter configuration of type " " (e.g., 5 1400 m). The command line configuration needs to understand also the tuble "(5, <Quantity 1500 m>)", as this might be set such one of the configuration steps (remember that the configurator steps through command line, configuration file, environment variables).

Note that I have also removed the unecessary functionality in plot_array to loop over a list of arrays for plotting.

ctao-dpps-sonarqube[bot] commented 3 months ago

Failed

Analysis Details

0 Issues

Coverage and Duplications

Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w

View in SonarQube

ctao-dpps-sonarqube[bot] commented 3 months ago

Failed

Analysis Details

0 Issues

Coverage and Duplications

Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w

View in SonarQube

ctao-dpps-sonarqube[bot] commented 3 months ago

Failed

Analysis Details

0 Issues

Coverage and Duplications

Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w

View in SonarQube

ctao-dpps-sonarqube[bot] commented 3 months ago

Passed

Analysis Details

0 Issues

Coverage and Duplications

Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w

View in SonarQube

ctao-dpps-sonarqube[bot] commented 3 months ago

Passed

Analysis Details

0 Issues

Coverage and Duplications

Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w

View in SonarQube