[master] Fix handling jobs without a RunNumber in TransformationSystem/Client/TaskManager
Fixes
2021-06-16 04:50:07 UTC Transformation/WorkflowTaskAgent-MCNotSimulation/WorkflowTasks ERROR: Could not found an input data or a run number
Traceback (most recent call last):
File "/opt/dirac/pro/LHCbDIRAC/TransformationSystem/Client/TaskManager.py", line 32, in _handleInputs
self.log.verbose('Setting run number to %s' % str(paramsDict['RunNumber']))
KeyError: 'RunNumber'
2021-06-16 04:50:07 UTC Transformation/WorkflowTaskAgent-MCNotSimulation/ [Thread6] [137289] ._execute ERROR: Exception executing operation submitTasks
Traceback (most recent call last):
File "/opt/dirac/pro/DIRAC/TransformationSystem/Agent/TaskManagerAgentBase.py", line 306, in _execute
res = getattr(self, operation)(transIDOPBody, clients)
File "/opt/dirac/pro/DIRAC/TransformationSystem/Agent/TaskManagerAgentBase.py", line 580, in submitTasks
clients)
File "/opt/dirac/pro/DIRAC/TransformationSystem/Agent/TaskManagerAgentBase.py", line 608, in _prepareAndSubmitAndUpdateTasks
self.bulkSubmissionFlag)
File "/opt/dirac/pro/DIRAC/TransformationSystem/Client/TaskManager.py", line 513, in prepareTransformationTasks
return self.__prepareTasks(transBody, taskDict, owner, ownerGroup, ownerDN)
File "/opt/dirac/pro/DIRAC/TransformationSystem/Client/TaskManager.py", line 746, in __prepareTasks
self._handleInputs(oJob, paramsDict)
File "/opt/dirac/pro/LHCbDIRAC/TransformationSystem/Client/TaskManager.py", line 44, in _handleInputs
raise KeyError('Could not found an input data or a run number')
KeyError: 'Could not found an input data or a run number'
BEGINRELEASENOTES
*TransformationSystem FIX: Fix submitting files without a RunNumber (i.e. MCReconstruction)
ENDRELEASENOTES