diff --git a/examples/quickstart/plot_retinotopy_flatmap.py b/examples/quickstart/plot_retinotopy_flatmap.py index 348afeb7..332b642e 100644 --- a/examples/quickstart/plot_retinotopy_flatmap.py +++ b/examples/quickstart/plot_retinotopy_flatmap.py @@ -9,7 +9,7 @@ command that is included. -.. _dataset: http://gallantlab.org/pycortex/S1_retinotopy.hdf +.. _dataset: https://s3.us-west-1.wasabisys.com/glab-public-datasets/S1_retinotopy.hdf S1 is the example subject that comes with pycortex, but if you want to plot data onto a different subject, you will need to have them in your filestore, @@ -21,8 +21,10 @@ # Download the dataset and load it -_ = urlretrieve("http://gallantlab.org/pycortex/S1_retinotopy.hdf", - "S1_retinotopy.hdf") +_ = urlretrieve( + "https://s3.us-west-1.wasabisys.com/glab-public-datasets/S1_retinotopy.hdf", + "S1_retinotopy.hdf" +) ret_data = cortex.load("S1_retinotopy.hdf") # The retinotopy data has to be divided into left and right hemispheres diff --git a/examples/quickstart/retinotopy_webgl.py b/examples/quickstart/retinotopy_webgl.py index 6cbe32fa..167a07c5 100644 --- a/examples/quickstart/retinotopy_webgl.py +++ b/examples/quickstart/retinotopy_webgl.py @@ -8,7 +8,7 @@ dataset_, but that can also be done automatically through the `urllib` command that is included. -.. _dataset: http://gallantlab.org/pycortex/S1_retinotopy.hdf +.. _dataset: https://s3.us-west-1.wasabisys.com/glab-public-datasets/S1_retinotopy.hdf S1 is the example subject that comes with pycortex, but if you want to plot data onto a different subject, you will need to have them in your filestore. @@ -21,15 +21,14 @@ """ import cortex -try: # python 2 - from urllib import urlretrieve -except ImportError: # python 3 - from urllib.request import urlretrieve +from urllib.request import urlretrieve # Download and load in retinotopy data -_ = urlretrieve("http://gallantlab.org/pycortex/S1_retinotopy.hdf", - "S1_retinotopy.hdf") +_ = urlretrieve( + "https://s3.us-west-1.wasabisys.com/glab-public-datasets/S1_retinotopy.hdf", + "S1_retinotopy.hdf" +) ret_data = cortex.load("S1_retinotopy.hdf") # Open the webviewer