Skip to content

Implement sample status checks in TopExamples grid submission scripts

Knut Zoch requested to merge kzoch/athena:AT/grid-script-updates into 21.2

This MR implements a bunch of functions in TopExamples that allow to check the status of a list of samples through the AMI client. This is meant to be used before any jobs are submitted through the TopExamples.grid module to the grid. The script checks:

  • whether a requested LDN exists and is valid on AMI
  • whether the LDN type is DAOD_xx (and not e.g. recon.AOD)
  • whether the p-tag of the LDN is the latest available

Info is then printed into stdout, with the option to halt on error. I also took the opportunity to remove a couple of unused lines in the updated files.

Related JIRA ticket: ANALYSISTO-764

Edited by Knut Zoch

Merge request reports