We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c7f6ac commit 395a4a8Copy full SHA for 395a4a8
1 file changed
tutorials/movies_3T/01_plot_explainable_variance.py
@@ -198,6 +198,14 @@
198
199
if not hasattr(cortex.db, surface):
200
cortex.utils.download_subject(subject_id=surface)
201
+ # reinitialize pycortex's database to update available subjects
202
+ filestore = cortex.options.config['basic']['filestore']
203
+ cortex.database.db = cortex.database.Database(filestore)
204
+ cortex.db = cortex.database.db
205
+ cortex.utils.db = cortex.database.db
206
+ cortex.dataset.braindata.db = cortex.database.db
207
+ cortex.quickflat.utils.db = cortex.database.db
208
+ cortex.quickflat.composite.db = cortex.database.db
209
210
###############################################################################
211
# Then, we load the "fsaverage" mapper. The mapper is a matrix of shape
0 commit comments