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

AttributeError: 'FSLtoNIDMExporter' object has no attribute 'export_dir' #126

Open
yarikoptic opened this issue Apr 25, 2018 · 3 comments
Open

Comments

@yarikoptic
Copy link
Member

$> nidmfsl -o out.nidm /.../_glm_mvpa.feat/          
Traceback (most recent call last):                                                                                                                                                      
  File "/home/yoh/proj/misc/nidmresults-fsl/venvs/dev/bin/nidmfsl", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/home/yoh/proj/misc/nidmresults-fsl/bin/nidmfsl", line 45, in <module>
    version=args.nidm_version, feat_dir=args.feat_dir, groups=args.group)
  File "/home/yoh/proj/misc/nidmresults-fsl/nidmfsl/fsl_exporter/fsl_exporter.py", line 87, in __init__
    self.cleanup()
  File "/home/yoh/proj/misc/nidmresults-fsl/venvs/dev/local/lib/python2.7/site-packages/nidmresults/exporter.py", line 117, in cleanup
    if os.path.isdir(self.export_dir):
AttributeError: 'FSLtoNIDMExporter' object has no attribute 'export_dir'

here is how I got there on a Debian box (excerpt from zsh history)

10108  git clone https://github.com/incf-nidash/nidmresults-fsl
10109  cd nidmresults-fsl
10110  virtualenv --system-site-packages venvs/dev
10111  source venvs/dev/bin/activate
10112  pip install -e '.'
@cmaumet
Copy link
Member

cmaumet commented Apr 27, 2018

Thanks for reporting @yarikoptic! We need to investigate this. In the meantime, maybe you can use the released version available via pypi?

pip install nidmfsl

@cmaumet
Copy link
Member

cmaumet commented May 3, 2018

@yarikoptic: is there any chance you could share _glm_mvpa.feat with us? @TomMaullin has given a go at this but could not reproduce the error so far. Thanks in advance!

@yarikoptic
Copy link
Member Author

Damn me should re-read my own recommendation more often. By trying to minimize the report and remove possibly sensitive information (path) I now forgot which one was it :-/ I will look around and report back

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

No branches or pull requests

2 participants