noahbenson / neuropythy

A neuroscience library for Python, intended to complement the existing nibabel library.
GNU Affero General Public License v3.0
115 stars 21 forks source link

Question about ny.hcp.download #14

Closed syoh closed 5 years ago

syoh commented 5 years ago

Thanks for this package!

I am having trouble getting downloading to work. I used docker-compose to start a notebook, and the following is the output:

Untitled - Jupyter Notebook

What am I missing? Thanks!

(BTW, AWS S3 credential is a non-functional one)

noahbenson commented 5 years ago

Ahh, I believe that what happened is this: I moved the download function when I rearranged and cleaned-up a bunch of the HCP code recently and forgot import a copy back into the neuropythy.hcp module. For now you can use ny.data['hcp'].download() instead--though note that I haven't tested this version very much. Let me know if you encounter bugs. Auto-downloading of the subjects should also work: if you just start interacting with subject objects their data should get downloaded.

I'll add download back into the hcp module in a future version.

syoh commented 5 years ago

Thanks for the quick response! I will try it

noahbenson commented 5 years ago

FYI this has now been added into the current version and seems to work in my tests.