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
9 stars 1 forks source link

Fix complexity issue in simtel_config_writer and add unit test #977

Closed GernotMaier closed 1 month ago

GernotMaier commented 1 month ago

Address the complexity issue: https://sonar-cta-dpps.zeuthen.desy.de/project/issues?resolved=false&pullRequest=969&id=gammasim_simtools_AY_ssha9WiFxsX-2oy_w&open=AZALqF5Y-Rsd-Q9KQnor

Actually a good point - moving this into a separate function is actually a good point and allows as well to test the string treatment.

ctao-dpps-sonarqube[bot] commented 1 month 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 1 month ago

Passed

Analysis Details

15 Issues

Coverage and Duplications

Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w

View in SonarQube