Closed Olmichu22 closed 2 weeks ago
This Pull Request introduces exceptions that allow handling the issue of non-existent directories in two key scripts:
build_irf.py
run_model.py
These changes ensure that missing directories are detected early and handled properly, avoiding strange errors in the dl1 library.
This Pull Request introduces exceptions that allow handling the issue of non-existent directories in two key scripts:
build_irf.py
: During the IRF construction, exceptions are now thrown when directories are missing, allowing for better error handling.run_model.py
: In the model training and testing phases, similar exceptions are thrown when the necessary directories are not found.These changes ensure that missing directories are detected early and handled properly, avoiding strange errors in the dl1 library.