Fix/da qoldformat corr
4 unresolved threads
4 unresolved threads
Compare changes
+ 38
− 18
@@ -72,8 +72,21 @@ def get_dssc_ctrl_data(in_folder, slow_data_pattern,
@@ -83,27 +96,31 @@ def get_dssc_ctrl_data(in_folder, slow_data_pattern,
@@ -118,7 +135,10 @@ def get_dssc_ctrl_data(in_folder, slow_data_pattern,
Please do the check before opening the file.
The use a context manager to open and close the file (
with h5py.File(filename) as f:...
)I would have written this bit as
With this in mind, I'm wondering whether the topmost
if
could beif not daq_formant or not filename:
? Then this block is even simpler so:changed this line in version 2 of the diff
Added exception handling, changed order in branching.
Here reports for test run.
DSSCOfflineCorrection.pdf
DSSCCharacterizeDarkImages.pdf