Example of using FileCatalog
Add a test or an example of using FileCatalog
. This might be worth integrating into PyConf.application
by adding an option to ApplicationOptions
and setting up the service.
from Gaudi.Configuration import (Gaudi__MultiFileCatalog as FileCatalog, ApplicationMgr)
catalog = FileCatalog(Catalogs=["xmlcatalog_file:/path/to/myCatalog.xml"])
ApplicationMgr().ExtSvc.append(catalog)
Thanks to @jubermud for the use case