Closed GernotMaier closed 1 month ago
This PR fixes a bug in validating values without dimensions. The following case was accepted but should raise an Exception:
dimensionless
Added a unit test (in tests/unit_tests/data_model/test_validate_data.py::test_check_and_convert_units_dimensionless) to test this.
tests/unit_tests/data_model/test_validate_data.py::test_check_and_convert_units_dimensionless
Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w
View in SonarQube
This PR fixes a bug in validating values without dimensions. The following case was accepted but should raise an Exception:
dimensionless
dimensionless
Added a unit test (in
tests/unit_tests/data_model/test_validate_data.py::test_check_and_convert_units_dimensionless
) to test this.