-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatic documentation generation for configuration nodes (#709)
* wip, recommit later * Morphology pipeline can store end result * give underlying cast error * Fixed error with `has_own_init` checking incorrect class * Requirement handlers can check if the node data is written in shortform * Preferably parse swc with inhouse swc parser * Added NameSelector shorthand * Fixed unserializable `FileDependency` attributes * Fixed pipeline calls * Added morphology creation from swc data * Added stable morpho comparison and allowed indicesless MorphologySet * Removed useless print commands * added `hint` kwarg to pass hint example values to autoconfig * expose more type information on attr * don't attempt to invert `None` * renamed and exposed `get_config_attributes` * use more robust `getattr` instead of dict lookup in module refs * added parser lookup methods * added syntax specification and `generate` method to parser iface * return already callable objects directly from `function_` type handler * pass (unenforced) type information to the property arg * autoconfig all the nodes in the reference * bumped checkout action * Fixed inversion of method shortcut * catch method's attribute error and reraise as typeerror --------- Co-authored-by: Francesco Sheiban <frances.j.shei@gmail.com>
- Loading branch information
1 parent
34152d1
commit e826a52
Showing
20 changed files
with
115 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,12 @@ | ||
from ._parser import Parser | ||
from .json import JsonParser | ||
|
||
|
||
def get_parser_classes(): | ||
from ...plugins import discover | ||
|
||
return discover("config.parsers") | ||
|
||
|
||
def get_parser(parser): | ||
return get_parser_classes()[parser]() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,7 @@ | |
"zwembad", | ||
"arbor", | ||
"morphio", | ||
"nrrd", | ||
] | ||
|
||
intersphinx_mapping = { | ||
|
Oops, something went wrong.