-
Notifications
You must be signed in to change notification settings - Fork 405
Support for flexible configuration #166
Comments
Thanks for restarting this @dzhoshkun. The proposed new config looks really nice. The next step (to implement the first two stages you mentioned) would be creating a new parser in parallel to the user parameters parser. Potentially we could have both At the moment "sections" in |
Yes, we can support both file formats during the transition. I will add a deprecation warning to the current parser. |
As this is quite extensive work, I've broken it down into multiple issues (all referenced within this issue's description above). However it makes sense to complete all the issues, and then merge the changes back, as we would like to switch directly to the new nested configuration file hierarchy instead of first switching the current configuration file structure to YAML, and then switching to the nested hierarchy. The latter approach might confuse users. |
@ericspod Please could you discuss with me before assigning tickets to me. Thanks. |
Note that this is active WRT the hackathon |
We have decided to migrate the format of NiftyNet configuration files from INI to YAML, as the latter is more flexible. As part of this migration, we have also decided to break the configuration parameters down into a file hierarchy, rather than presenting the user with a single, long configuration file. This with the aim of supporting a wider spectrum of users; such that beginner-level users will not have to deal with advanced configuration parameters, while more advanced users will have much more control.
The CMICLab branch has sample files (under the
config/issue-189
folder) demonstrating the proposed new configuration hierarchy. In addition, the CMICLab issue has a long discussion thread with useful pointers. However as GitHub is the main development platform for NiftyNet, we are going to continue the relevant development work here. Also now the configuration parameters are documented on RTD.This will have a large impact on NiftyNet users. As such, a staged approach may be more suitable to deal with it:
The text was updated successfully, but these errors were encountered: