get creation time for a file and remove recursive prints
Summary:
While running AGIPD Correction for run files /gpfs/exfel/exp/MID/202030/p900137/raw/r0319
, it was found that extracting the creation time from Metadata
in *.h5
files costed about 200 seconds. As before we only use creation time for oldest file in run folder, I did the same. This take about 1 second.
I have also removed some prints, which is not needed in the report (or will be printed later in a better form).
Test:
xfel-calibrate AGIPD CORRECT \
--slurm-mem 750 \
--slurm-name correct_MID_agipd_319 \
--karabo-id MID_DET_AGIPD1M-1 \
--karabo-id-control MID_EXP_AGIPD1M1 \
--karabo-da-control AGIPD1MCTRL00 \
--h5path-ctrl /CONTROL/{}/MDL/FPGA_COMP \
--overwrite \
--in-folder /gpfs/exfel/exp/MID/202030/p900137/raw/ \
--out-folder /gpfs/exfel/data/scratch/ahmedk/test/AGIPD_FF3 \
--slopes-ff-from-files /gpfs/exfel/d/proc/MID/202031/p900148/proc_vtst/cascella//FF/GAIN_MAPS/202cells2.2MHz.4p.lim1.gs0r319r322r324/ \
--xray-gain \
--run 319 \
--sequences 74 \
--gain-setting 0