[JUNGFRAU][CORRECT] Use DataCollection.from_paths for reading JF CORR files for plots
Description
This fix is related to this issue: https://git.xfel.eu/calibration/pycalibration/-/issues/68
When there is a run with multiple Jungfrau detectors. The piece for opening CORR files for plotting raises an error (without stopping the whole processing) because it opens all CORR files in the out-folder some of which can still be open and written.
This MR uses DataCollection.from_paths
instead of RunDirectory
to select only the CORR files that will be plotted in the following NB cells.
How Has This Been Tested?
The tests are running against the reference runs.
Relevant Documents (optional)
Types of changes
- Bug fix (non-breaking change which fixes an issue)
Checklist:
Reviewers
Edited by Karim Ahmed