File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -197,15 +197,14 @@ def _datalad_get(filepath):
197197 from datalad import api
198198 from datalad .support .exceptions import IncompleteResultsError
199199
200- relpath = str (filepath .relative_to (TF_LAYOUT .root ))
201200 try :
202- api .get (path = str ( relpath ) , dataset = str (TF_LAYOUT .root ))
201+ api .get (filepath , dataset = str (TF_LAYOUT .root ))
203202 except IncompleteResultsError as exc :
204203 if exc .failed [0 ]["message" ] == "path not associated with any dataset" :
205204 from .conf import TF_GITHUB_SOURCE
206205
207206 api .install (path = TF_LAYOUT .root , source = TF_GITHUB_SOURCE , recursive = True )
208- api .get (path = str ( relpath ) , dataset = str (TF_LAYOUT .root ))
207+ api .get (filepath , dataset = str (TF_LAYOUT .root ))
209208 else :
210209 raise
211210
You can’t perform that action at this time.
0 commit comments