Skip to content

DRAFT: ATLASG-2505 add functionality to print out default configuration of CP algorithms in PHYSLITE production

Heather Russell requested to merge hrussell/athena:PHYSLITE_24.0.2 into main

Hello,

This merge request:

  1. propagates printDefaults through the CA logging
  2. adds regex matching functionality for the printing of components
  3. prints out the CP algorithm configuration, including defaults, to a separate file.

I imagine this is not the ideal solution, but this is the only option I have that provides the information we need. Saving the configuration to a pickle file using --config-only does not save tool defaults, even when I propagated withDefaultHandles through acc.store().

There is one problem with my changes to PHYSLITE - the information prints both to the file I create and stdout. I can't figure out how to fix this. I imagine we'd want to put this behind some sort of configuration flag, so as to not create the file every time we produce bulk derivations on the grid. The filename should also be improved. I can do these changes if the overall solution proposed here is an acceptable way forwards.

tagging: @gwatts @calpigia @jcatmore @krumnack

Merge request reports