Skip to content

Do not request a global run number if L0 FM already did

Laurent Petre requested to merge bugfix/run-number-at-start into develop

Description

This MR fixes a bug in the GEM FM that was systematically requesting a new run number at "Start" even if started from a L0 FM (i.e. Global or miniDAQ).

The official run number is now requested only if none if is provided in the input parameter set.

Related Issue

How Has This Been Tested?

In miniDAQ, the official L0 run number (as displayed in the Web interface) is now correctly propagated to the GEM supervisor and then to the managed applications. The TCDS iCI and PI show the right run number and the VFAT configuration is dumped with under the right directory.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Merge request reports