refgenie / refgenconf

A Python object for standardized reference genome assets.
http://refgenie.databio.org
BSD 2-Clause "Simplified" License
3 stars 6 forks source link

Deal with HTTPError error (missing archives on the server) #71

Closed stolarczyk closed 5 years ago

stolarczyk commented 5 years ago

Currently we determine a valid source server for an asset by downloading a JSON file with its attributes. Consequently, if a refgenieserver instance does serve the JSON but for some reason the asset archive is missing on the server side, pull_asset will fail without checking other servers.

This is a rare case, which is caused by faulty refgenieserver instance, but would it be helpful to deal with it here.