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.data.read_bundles_2_subjects doesn't fetch data as expected #1211

Closed
arokem opened this issue Mar 31, 2017 · 1 comment
Closed

dipy.data.read_bundles_2_subjects doesn't fetch data as expected #1211

arokem opened this issue Mar 31, 2017 · 1 comment

Comments

@arokem
Copy link
Contributor

arokem commented Mar 31, 2017

In [1]: import dipy.data as dpd

In [6]: dpd.read_bundles_2_subjects()
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-6-997ccd37e15a> in <module>()
----> 1 dpd.read_bundles_2_subjects()

/Users/arokem/source/dipy/dipy/data/fetcher.py in read_bundles_2_subjects(subj_id, metrics, bundles)
    938 
    939     if 'fa' in metrics:
--> 940         img_fa = nib.load(pjoin(dname, subj_id, 'fa_1x1x1.nii.gz'))
    941         fa = img_fa.get_data()
    942         affine = img_fa.affine

/Users/arokem/source/nibabel/nibabel/loadsave.py in load(filename, **kwargs)
     38     '''
     39     if not op.exists(filename):
---> 40         raise FileNotFoundError("No such file: '%s'" % filename)
     41     sniff = None
     42     for image_klass in all_image_classes:

FileNotFoundError: No such file: '/Users/arokem/.dipy/exp_bundles_and_maps/bundles_2_subjects/subj_1/fa_1x1x1.nii.gz'

@arokem
Copy link
Contributor Author

arokem commented Apr 20, 2017

This is fixed in #1219

@arokem arokem closed this as completed Apr 20, 2017
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

1 participant