Skip to content

AllConfigFlags: do not delete flag creation function

Frank Winklmeier requested to merge fwinkl/athena:fwinkl_20211012T120433 into master

For unit testing, it is often useful to be able to re-create the ConfigFlags from scratch to be able to test with different settings (e.g. different input files). This can now be done via:

from AthenaConfiguration.AllConfigFlags import _createCfgFlags
ConfigFlags = _createCfgFlags()

cc @wlampl @tbold: I am open for better suggestions, i.e. if we should drop the _. But maybe this way it's clear this should only be used by experts.

Merge request reports