Skip to content

Fix logic in check for inputFilesPerJob

Spyros Argyropoulos requested to merge newcheck into master

Description of bug

ProdSys requires that evgenConfig.inputFilesPerJob is defined as a simple integer and not via a conditional assignment.

evgenConfig.inputFilesPerJob = 2 if int(runArgs.ecmEnergy)==13600 else 1 evaluates to None and so check for integer inputFilesPerJob was not working in check_jo_consistency_helpers.py

Changes introduced

Fix check

Tests

Without evgenConfig.inputFilesPerJob

Screenshot_2024-11-26_at_06.14.36

With evgenConfig.inputFilesPerJob = 2 if int(runArgs.ecmEnergy)==13600 else 1

Screenshot_2024-11-26_at_06.15.20

With evgenConfig.inputFilesPerJob = 2

Screenshot_2024-11-26_at_06.15.56

Issues resolved

Closes #

Edited by Spyros Argyropoulos

Merge request reports

Loading