Skip to content

[LPDMini][Dark] Fix first notebook cell to execute CL through the webservice

Karim Ahmed requested to merge fix/LPDMini_executing_dark_processing into master

This MR fixes issues related to requesting dark processing for LPDMini. This issue was reported at:

https://redmine.xfel.eu/issues/153171 for https://in.xfel.eu/metadata/proposals/858#proposal-calibration

Description

  • First notebook cell:

    1. --operation-mode is given by default from myMDC and then webservice append it to xfel-calibrate CL.
    • TODO: Replace this by avoid adding it in the first place in the webservice as it is not needed.
    1. --min-trains had required string to the command which is pointing to nbparameterise that a CL should fail if it is missing from the input arguments.
  • karabo_da has a slash and it is used in the name for the notebooks in slurm_out_... as karabo_da is set as a concurrency-par through the webservice. This is fixed by replacing the / with - for the chosen new_name.

    • FileNotFoundError: [Errno 2] No such file or directory: '/gpfs/exfel/d/cal/caldb_store/xfel/reports/FXE/FXE_DET_LPD_MINI/dark/slurm_out_LPDMINI_DARK_t230508_090438.590215/LPD_Mini_Char_Darks_NBC__karabo_da__LPDMINI00/2.ipynb'

How Has This Been Tested?

Relevant Documents (optional)

Types of changes

Checklist:

Reviewers

@schmidtp @kluyvert

Edited by Karim Ahmed

Merge request reports