Closed effigies closed 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
But the problem is templateflow.get
(or whatever) wraps datalad.get
(or whatever), which is how the path is actually resolved.
If
datalad.api
cannot be imported, perhaps stubs can be used to simply construct the path and runos.path.exists()
to check whether the link can be dereferenced.Related: neurostars #3619, neurostars #3639