FileNotFoundError: no such file 'pIns.nii.gz'

47 views
Skip to first unread message

sujata sinha

unread,
Feb 11, 2017, 8:21:48 AM2/11/17
to neurosynth
Hello members!

I am following the Neurosynth steps in Jupyter/Ipython as stated in http://nbviewer.jupyter.org/github/neurosynth/neurosynth/blob/master/examples/neurosynth_demo.ipynb

I am facing issue in the last step, i.e.,"decoding your own images". When I give the instruction: data = decoder.decode(['pIns.nii.gz', 'vIns.nii.gz', 'dIns.nii.gz'], save='decoding_results.txt'), the output shows: FileNotFoundError: no such file 'pIns.nii.gz'. 

I have googled to find the reason for the same but I could not find any....I would like to know what it means and why is the error so and what should I do?

Thanks and regards,
Sujata

vanessa s

unread,
Feb 11, 2017, 10:57:08 AM2/11/17
to neurosy...@googlegroups.com
The error is telling you that a file is not found. Is that file pIns.nii.gz located in your present working directory where you are running the example?

Best,

Vanessa
--
You received this message because you are subscribed to the Google Groups "neurosynth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neurosynthlis...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

vanessa s

unread,
Feb 11, 2017, 11:08:09 AM2/11/17
to neurosy...@googlegroups.com
Note that it says in the tutorial:

"In this example, we'll decode three insula-based coactivation networks drawn from Chang, Yarkoni, Khaw, & Sanfey (2012). You should substitute your own images into the list below. "

If you want those images, I think they are hosted on NeuroVault:


Just a guess, but I'd say this one is pInsvIns, and dIns, respectively. Are you familar with Github? If you are concerned about this in the tutorial, you could add a note and link to the reader to find (and download) the data from NeuroVault, but doing that would be dependent on them reading it! Ha.

Happy Decoding!

Best,

Vanessa

To unsubscribe from this group and stop receiving emails from it, send an email to neurosynthlist+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Vanessa Villamia Sochat
Stanford University '16

sujata sinha

unread,
Feb 11, 2017, 1:39:44 PM2/11/17
to neurosy...@googlegroups.com
Hii Vanessa,

My friend and I have sorted out the problem...actually, instead of pInsvIns, and dIns, when I inserted the acc_seed_pA .nii.gz file that has been saved earlier by coding, it worked fine. Thank you very much for your suggestion.

Regards
Sujata



Thanks and regards
Sujata Sinha


--
You received this message because you are subscribed to a topic in the Google Groups "neurosynth" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neurosynthlist/0XoK8mtbxnE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neurosynthlist+unsubscribe@googlegroups.com.

wangal...@gmail.com

unread,
Dec 25, 2018, 3:05:37 AM12/25/18
to neurosynth

i encountered the same question, is there any one who got the answers?
在 2017年2月11日星期六 UTC+8下午9:21:48,sujata sinha写道:

Tal Yarkoni

unread,
Dec 25, 2018, 3:20:40 AM12/25/18
to neurosy...@googlegroups.com

Those image files are not provided with the notebook. As the notebook says, "You should substitute your own images into the list below."

--
You received this message because you are subscribed to the Google Groups "neurosynth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neurosynthlis...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages