Intoduce Global Logger for xfel-calibrate
- New setup_logging.py module to set the global logger handler - Use new princess feature to run setup_logging.py before executing notebook - copy setup_logging.py to the CAL_WORKING_DIRECTORY for more simplicity in accessing the file from anywhere (should be enough for reproducability?). - LOGGING: - WARNINGs to warnings.logs - ERRORs to errors.logs - ALL console logs are not using any special format on purpose
Showing
- bin/slurm_calibrate.sh 7 additions, 4 deletionsbin/slurm_calibrate.sh
- notebooks/test/test-error.ipynb 135 additions, 0 deletionsnotebooks/test/test-error.ipynb
- src/xfel_calibrate/calibrate.py 7 additions, 2 deletionssrc/xfel_calibrate/calibrate.py
- src/xfel_calibrate/notebooks.py 16 additions, 0 deletionssrc/xfel_calibrate/notebooks.py
- src/xfel_calibrate/settings.py 3 additions, 0 deletionssrc/xfel_calibrate/settings.py
- src/xfel_calibrate/setup_logging.py 102 additions, 0 deletionssrc/xfel_calibrate/setup_logging.py
Loading
Please register or sign in to comment