argschema
argschema copied to clipboard
This python module simplifies the development of modules that would like to define and check a particular set of input parameters, but be able to flexibly define those inputs in different ways in diff...
@fcollman if you want to see
this had been working on appveyor, and, in moving to github-actions the test no longer passes. We'd like to re-instate this test for good windows coverage.
Seems like it would be fairly straightforward to add the option of setting short names for fields to make them easier to specify from the command line ("-i" vs "--input"),...
I'm finding argschema super useful! But I've had one question/issue with regards to logging come up. Because the argschema_parser is one of the first things called in most main scripts...
I'm getting an error on validation when I've added a NumpyArray to an existing schema. ``` File "/allen/programs/celltypes/workgroups/em-connectomics/danielk/conda/rm_production_mod/lib/python2.7/site-packages/argschema/argschema_parser.py", line 171, in __init__ args = utils.smart_merge(jsonargs, argsdict) File "/allen/programs/celltypes/workgroups/em-connectomics/danielk/conda/rm_production_mod/lib/python2.7/site-packages/argschema/utils.py", line 210,...
Currently the tests are configured to run with --boxed which explicitly calls os.fork() and results in pytest throwing an error because fork is not supported on Windows. Removing the --boxed...