3482 Add ConfigComponent for config parsing#3720
Conversation
merge master
merge master
merge master
merge master
merge master
Signed-off-by: Nic Ma <[email protected]>
|
/black |
|
/build |
|
I tried to cover all the possible config cases in the unit tests. Thanks. |
ConfigComponent for config parsingConfigComponent for config parsing
|
/build |
ConfigComponent for config parsingConfigComponent for config parsing
|
/build |
|
Hydra does do some of the things we want to include here, do we want to add it as a dependency? I'm not sure it could be an optional dependency since the model archiving functionality would need it to be there and it's a pretty important that it's present in MONAI. |
|
this one also looks interesting https://github.com/jmespath/jmespath.py |
Something structured like this looks like a good idea, I do like the "foo.baz" syntax. It's rather more complex that we need for this application perhaps, again though the concern is adding another dependency. I have a bit of code in a tool for generating random data that instantiates objects from a YAML schema. This function to creates objects from the dictionary derived from the schema recursively so that new objects can be used as constructor arguments when instantiating others. The find_type_def is pretty well the same as I'm good with this going forward if we want to keep the momentum going on the model archive. |
ConfigComponent for config parsingConfigComponent for config parsing
ConfigComponent for config parsingConfigComponent for config parsing
|
/black |
|
/build |
Signed-off-by: Nic Ma <[email protected]>
e92a3ee to
aa5f95d
Compare
|
/build |
1 similar comment
|
/build |
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
|
/build |
Signed-off-by: Wenqi Li <[email protected]>
7804756 to
3ac8827
Compare
now simplified to the essential components
|
/black |
|
/build |
1 similar comment
|
/build |
Signed-off-by: Nic Ma <[email protected]>
6e53dcd to
6d0aa5d
Compare
|
/build |
2 similar comments
|
/build |
|
/build |
Signed-off-by: Nic Ma <[email protected]>
|
/black |
|
/build |
1 similar comment
|
/build |
|
I have merged this PR into the whole draft PR: #3593 and verified the overall features. Thanks. |
Task step 2 of #3482 .
Description
This PR implemented the
ConfigComponentfeature for config parsing, it's for task 2 of #3482 .The whole proposal is in draft PR: #3593.
Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests --disttests.make htmlcommand in thedocs/folder.