Replies: 4 comments 23 replies
-
You could also do it with the same OmegaConf mechanism that allows config files to cross-reference each other:
I kind of like it because then we have a unified, hierarchical namespace for everything: configuration, image and cab definitions, recipe definitions, etc. Also, from this, it's a trivial step to support recipes that are entirely defined as a YaML file. |
Beta Was this translation helpful? Give feedback.
-
I had something like this before but abandoned it because it was not easy to keep track of everything properly. OmegaConf does make this simpler This is what's left of the old implementation. The idea was to allow a pipeline to be (re-)executed from JSon file |
Beta Was this translation helpful? Give feedback.
-
Can you point me to where you do this? |
Beta Was this translation helpful? Give feedback.
-
Your |
Beta Was this translation helpful? Give feedback.
-
I already have this implemented in the usecwl branch RecipeStep.py file. This allows something like this
https://github.com/ratt-ru/Stimela/blob/8563da2e831a36bcd3c6164324e1632a18751616/examples/simulation_pipeline.py#L5-L28
Beta Was this translation helpful? Give feedback.
All reactions