Open bcdarwin opened 6 years ago
Hmm ...
What I want (not entirely realized) is for pipelines to be composable but still configurable. If we're to use command-line settings for this rather than drive Pydpiper from a Python interactive shell it seems necessary to do something like this prefixing scheme (which is done semi-automatically when you create the different parsers). Note that even if this were allowed I don't see how it work work correctly (MAGeT would get your ANTs protocol, for example -- though maybe we the protocols themselves should determine the program used ...). We'd probably need some sort of syntax for you to walk the tree of pipeline components looking for MAGeT-things and adjusting them ... another reason why this should all be done from within a real programming language since I don't feel like making a set of conventions for specifying this in YAML ...
Definitely open to suggestions though ...
Hrm, I see what you mean.
For now, I've solved this by creating two possible config files and made the module print the warning to point at the other config if using MAGeT.py
It occurs to me this could be done with PYDPIPER_ environment variables, which configargparse supposedly handles. I'll look into this.
(was https://github.com/Mouse-Imaging-Centre/RMINC/issues/191)
gdevenyi:
This is because the options are named differently for the MAGeT.py program than the MBM.py program