templateflow / python-client

A python client to query TemplateFlow via pyBIDS
https://templateflow.org/python-client/
Apache License 2.0
8 stars 12 forks source link

Datalad-free fallback #5

Closed effigies closed 5 years ago

effigies commented 5 years ago

If datalad.api cannot be imported, perhaps stubs can be used to simply construct the path and run os.path.exists() to check whether the link can be dereferenced.

Related: neurostars #3619, neurostars #3639

yarikoptic commented 5 years ago

or just issue a warning and assume that all data is there? if it is not there and needed, it would fail anyways

effigies commented 5 years ago

But the problem is templateflow.get (or whatever) wraps datalad.get (or whatever), which is how the path is actually resolved.