biobricks-ai / biobricks

BioBricks makes loading data from biological datasets and databases easy. Python and R interfaces, data version control, and an API for pulling datasets that have been converted to easy-to-use formats.
https://docs.biobricks.ai
MIT License
5 stars 2 forks source link

Checking downloaded files: after download and on reinstall #25

Open zmughal opened 3 months ago

zmughal commented 3 months ago

The current implementation in DVCFetcher does not check if the file to download already exists at the cache path so repeated calls to biobricks install will download the brick again.

In addition, it might be good to approach error checking of the download in the following way: