Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dipy_fit_csd CLI is broken? #1808

Closed
arokem opened this issue Apr 16, 2019 · 3 comments · Fixed by #1810
Closed

dipy_fit_csd CLI is broken? #1808

arokem opened this issue Apr 16, 2019 · 3 comments · Fixed by #1810

Comments

@arokem
Copy link
Contributor

arokem commented Apr 16, 2019

I get this when I run the CLI:

(dipy) dipy_qa (master)$dipy_fit_csd 
Traceback (most recent call last):
  File "/Users/arokem/.virtualenvs/dipy/bin/dipy_fit_csd", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/Users/arokem/source/dipy/bin/dipy_fit_csd", line 9, in <module>
    run_flow(ReconstCSDFlow())
  File "/Users/arokem/source/dipy/dipy/workflows/flow_runner.py", line 32, in run_flow
    sub_flows_dicts = parser.add_workflow(flow)
  File "/Users/arokem/source/dipy/dipy/workflows/base.py", line 151, in add_workflow
    _kwargs['metavar'] = dtype.__name__
AttributeError: 'NoneType' object has no attribute '__name__'

Here without inputs, but the same error is raised when the workflow is run with inputs.

@skoudoro
Copy link
Member

Can you give me your python and dipy version ?

@arokem
Copy link
Contributor Author

arokem commented Apr 16, 2019

I am on current master with Python 3.7:

(dipy) dipy_qa (master)$python
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24) 
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import dipy
>>> dipy.__version__
'1.0.0dev'

@skoudoro
Copy link
Member

This crash is really strange... It seems to be specific to python3.7 anddipy_fit_csa have the same problem.
The investigation starts... Thanks for the report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants