Skip to content

Commit 4ccea23

Browse files
committed
DOC clarify that the data is not available yet
1 parent 95924f8 commit 4ccea23

3 files changed

Lines changed: 16 additions & 11 deletions

File tree

tutorials/movies_3T/00_download_vim4.py

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,32 @@
33
Download the data set from CRCNS
44
================================
55
6-
In this script, we download the data set from CRCNS.
7-
A (free) account is required.
6+
In this script, we download the data set from CRCNS. A (free) account is
7+
required.
8+
9+
.. Warning:: The data has not been publicly released yet, so this notebook will
10+
not work !
811
912
Cite this data set
1013
------------------
1114
12-
This tutorial is based on publicly available data
13-
`published on CRCNS <https://crcns.org/data-sets/vc/TBD>`_.
14-
If you publish any work using this data set, please cite the original
15-
publication [1]_, and the data set [2]_.
15+
This tutorial is based on publicly available data `published on CRCNS
16+
<https://crcns.org/data-sets/vc/TBD>`_. If you publish any work using this data
17+
set, please cite the original publication [1]_, and the data set [2]_.
1618
1719
.. [1] Huth, A. G., Nishimoto, S., Vu, A. T., & Gallant, J. L. (2012). A
1820
continuous semantic space describes the representation of thousands of
1921
object and action categories across the human brain. Neuron, 76(6),
2022
1210-1224.
2123
22-
.. [2] Huth, A. G., Nishimoto, S., Vu, A. T., & Gallant, J. L. (2020):
23-
Gallant Lab Natural Movie 3T fMRI Data. CRCNS.org.
24-
http://dx.doi.org/10.6080/TBD
24+
.. [2] Huth, A. G., Nishimoto, S., Vu, A. T., & Gallant, J. L. (2020): Gallant
25+
Lab Natural Movie 3T fMRI Data. CRCNS.org. http://dx.doi.org/10.6080/TBD
2526
"""
2627
# sphinx_gallery_thumbnail_path = "static/crcns.png"
2728

29+
raise RuntimeError("The data has not been publicly released yet, so "
30+
"this script/notebook will not work !")
31+
2832
###############################################################################
2933
# Download
3034
# --------

tutorials/notebooks/movies_3T/00_download_vim4.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"cell_type": "markdown",
1616
"metadata": {},
1717
"source": [
18-
"\n# Download the data set from CRCNS\n\n\nIn this script, we download the data set from CRCNS.\nA (free) account is required.\n\nCite this data set\n------------------\n\nThis tutorial is based on publicly available data\n`published on CRCNS <https://crcns.org/data-sets/vc/TBD>`_.\nIf you publish any work using this data set, please cite the original\npublication [1]_, and the data set [2]_.\n\n.. [1] Huth, A. G., Nishimoto, S., Vu, A. T., & Gallant, J. L. (2012). A\n continuous semantic space describes the representation of thousands of\n object and action categories across the human brain. Neuron, 76(6),\n 1210-1224.\n\n.. [2] Huth, A. G., Nishimoto, S., Vu, A. T., & Gallant, J. L. (2020):\n Gallant Lab Natural Movie 3T fMRI Data. CRCNS.org.\n http://dx.doi.org/10.6080/TBD\n"
18+
"\n# Download the data set from CRCNS\n\n\nIn this script, we download the data set from CRCNS. A (free) account is\nrequired.\n\n.. Warning:: The data has not been publicly released yet, so this notebook will\n not work !\n\nCite this data set\n------------------\n\nThis tutorial is based on publicly available data `published on CRCNS\n<https://crcns.org/data-sets/vc/TBD>`_. If you publish any work using this data\nset, please cite the original publication [1]_, and the data set [2]_.\n\n.. [1] Huth, A. G., Nishimoto, S., Vu, A. T., & Gallant, J. L. (2012). A\n continuous semantic space describes the representation of thousands of\n object and action categories across the human brain. Neuron, 76(6),\n 1210-1224.\n\n.. [2] Huth, A. G., Nishimoto, S., Vu, A. T., & Gallant, J. L. (2020): Gallant\n Lab Natural Movie 3T fMRI Data. CRCNS.org. http://dx.doi.org/10.6080/TBD\n"
1919
]
2020
},
2121
{
@@ -26,7 +26,7 @@
2626
},
2727
"outputs": [],
2828
"source": [
29-
""
29+
"raise RuntimeError(\"The data has not been publicly released yet, so \"\n \"this script/notebook will not work !\")"
3030
]
3131
},
3232
{

voxelwise_tutorials/io.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def download_crcns(datafile, username, password, destination,
6969
bar.update_with_increment_value(chunk_size)
7070
if chunk:
7171
f.write(chunk)
72+
print('%s downloaded.' % local_filename)
7273

7374
# uncompress archives
7475
if unpack and os.path.splitext(local_filename)[1] in [".zip", ".gz"]:

0 commit comments

Comments
 (0)