psychoinformatics-de / paper-remodnav

Code, data and manuscript for https://doi.org/10.1101/619254
Creative Commons Attribution 4.0 International
4 stars 2 forks source link

Make DataLad optional #22

Closed mih closed 11 months ago

mih commented 11 months ago

This change replaces datalad_get() with a noop function, whenever datalad is not available.

This change enables other means of provisioning data, and/or running the analysis code in environments where datalad is not available.

When datalad is not around, the replacement function produces a message that reports the data file it would have provisioned.