Closed RenHirayama closed 2 years ago
Is it possible to include an automatic check in geometrical_cross_section.py
? How much effort is it to just take the value from the config file?
How much effort is it to just take the value from the config file?
If the relative path of the file with respect to the script does not change, I would say that it's a low effort. Being just one value, I would not even use YAML, but just parse the lines of the config file and extract the second entry of the row if the first one is Max:.
If the relative path of the file with respect to the script does not change, I would say that it's a low effort.
I think it's always the config file in the test/cross_sections/config.yaml
Is it possible to include an automatic check in
geometrical_cross_section.py
? How much effort is it to just take the value from the config file?
I also think it's not very hard, but in the meantime it's useful to have at least a warning for the user.
Changing it breaks the analysis, since
bmax
is set explicitly ingeometrical_cross_section.py
. It would be nice to fix this in the future, perhaps taking the value from the config file.