Generic approach for transformation specific settings in SchedulerConfig
MichaelSt98 opened this issue · comments
Michael Staneker commented
Generic approach for transformation specific settings to avoid adding new keys flat into the scheduler config
by introducing a transformation_configs
key or similar as proposed by @reuterbal.
Consequently, transformation-specific sections (analogue to the routine-specific configs) could be declared, e.g.
[transformation_options]
[transformation_options.ParametriseTransformation]
dic2p = { NLEV = 137 }
[transformation_options.SccCufTransformation]
derived_types = [ 'TECLDP' ]
This could then be picked out in the scheduler's process routine and handed down to the transformation invocation:
trafo_config = self.config.get(trafo_name, {})
...
transformation.apply(..., **trafo_config)
Michael Lange commented
Draft PR #191 should address this, so comments welcome.