Fix logic in check for inputFilesPerJob
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
evgenConfig.inputFilesPerJob
Without
evgenConfig.inputFilesPerJob = 2 if int(runArgs.ecmEnergy)==13600 else 1
With
evgenConfig.inputFilesPerJob = 2
With
Issues resolved
Closes #
Edited by Spyros Argyropoulos