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.
The tests are running against the reference runs.