File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -147,8 +147,10 @@ def setUp(self):
147147 :return:
148148 """
149149 if self .lab == 'cortexlab' :
150- df = super ().getData (one = ONE (base_url = 'https://alyx.internationalbrainlab.org' ))
150+ one = ONE (base_url = 'https://alyx.internationalbrainlab.org' )
151+ df = super ().getData (one = one )
151152 else :
153+ one = self .one
152154 df = super ().getData ()
153155
154156 if len (df ) == 0 :
@@ -173,9 +175,9 @@ def setUp(self):
173175 full_local_path = Path (self .globus .endpoints ['local' ]['root_path' ]).joinpath (sess_path )
174176 if not full_local_path .exists ():
175177
176- if self . one ._index_type () is int :
178+ if one ._index_type () is int :
177179 uuid = np2str (np .r_ [i [0 ], i [1 ]])
178- elif self . one ._index_type () is str :
180+ elif one ._index_type () is str :
179181 uuid = i
180182
181183 self .local_paths .append (full_local_path )
You can’t perform that action at this time.
0 commit comments