scverse / mudata

Multimodal Data (.h5mu) implementation for Python
https://mudata.rtfd.io
BSD 3-Clause "New" or "Revised" License
75 stars 17 forks source link

allow `backup_url` for read functions in MuData #45

Closed AnnaChristina closed 1 year ago

AnnaChristina commented 1 year ago

For convenient file loading from back-up URLs would be great to have a similar argument as in scanpy.read that allows reading files from backup URLs which retrieves the file from an URL if not present on disk.

grst commented 1 year ago

I would prefer to see pooch being used in such cases instead.

Here's an example how it can be used in tutorials: https://scverse-tutorials.readthedocs.io/en/latest/notebooks/basic-scrna-tutorial.html

AnnaChristina commented 1 year ago

thanks! closing this, was mainly interested in using this for the book but will keep things then consistent with your recommendation.