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

Duplicated function _validate_and_convert_value in general.py #1036

Open GernotMaier opened 4 days ago

GernotMaier commented 4 days ago

_validate_and_convert_value is twice in general.py (not sure what python is doing?).

https://github.com/gammasim/simtools/blob/dd541bd33fcbe153b3b7fff09124008a2e90397c/simtools/utils/general.py#L57

https://github.com/gammasim/simtools/blob/dd541bd33fcbe153b3b7fff09124008a2e90397c/simtools/utils/general.py#L396

I am not sure which is the correct one.