Skip to content

fix (PMS): Filter out invalid results from BookkeepingClient.getSimulationCondition

Chris Burr requested to merge cburr/LHCbDIRAC:fix-prod-submit-conditions into master

Delightfully BookkeepingClient.getSimulationCondition returns like "%{SimDescription}%" rather than returning only exact matches:

https://gitlab.cern.ch/lhcb-dirac/LHCbDIRAC/-/blob/c686b26e9caca2158b883f1e0ea1d3fbef1b6d0a/src/LHCbDIRAC/BookkeepingSystem/DB/OracleBookkeepingDB.py#L5656

As I'm sure this behavour is probably required somewhere this merge request just filters out any erroneous results.

BEGINRELEASENOTES

*ProductionManagement FIX: Filter out invalid results from BookkeepingClient.getSimulationCondition when submitting productions

ENDRELEASENOTES

Merge request reports