Describe the bug
The snap_polygons module has a FromLimsSource option to pull input arguments from LIMS queries, but it refers to outdated code in argschema, failing to run at all. Some minor usability changes will also be helpful in supporting use of this functionality.
To Reproduce
Follow the example usage from the command line:
Expected behavior
Successful run of the module, producing modified polygons and other output.
Actual Behavior
ImportError: cannot import name 'ArgSource' from 'argschema.sources'
(ArgSource should be ConfigurableSource).
Environment (please complete the following information):
OS & version: Centos 7
Python version 3.7
neuron_morphology version: current dev branch
Additional context
It's possible this issue is partly due to using the wrong version of argschema (versions are not specified by tags for that repo), but it occurs for both a pip install from neuron_morphology requirements, and installation from source from commits that seem to be on the correct branch (input_source_3.0a). There are some related mixups in the argschema docs, see https://github.com/AllenInstitute/argschema/pull/106.
Do you want to work on this issue?
Yes, will submit PR shortly
Describe the bug The snap_polygons module has a FromLimsSource option to pull input arguments from LIMS queries, but it refers to outdated code in argschema, failing to run at all. Some minor usability changes will also be helpful in supporting use of this functionality.
To Reproduce Follow the example usage from the command line:
Expected behavior Successful run of the module, producing modified polygons and other output.
Actual Behavior ImportError: cannot import name 'ArgSource' from 'argschema.sources' (ArgSource should be ConfigurableSource).
Environment (please complete the following information):
Additional context It's possible this issue is partly due to using the wrong version of argschema (versions are not specified by tags for that repo), but it occurs for both a pip install from neuron_morphology requirements, and installation from source from commits that seem to be on the correct branch (input_source_3.0a). There are some related mixups in the argschema docs, see https://github.com/AllenInstitute/argschema/pull/106.
Do you want to work on this issue? Yes, will submit PR shortly