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

Remove RunTimeWarning #131

Closed nsheff closed 3 years ago

nsheff commented 3 years ago

As mentioned here:

https://github.com/databio/pepatac/issues/186

Seeking bowtie2 indexes yield a warning

/usr/local/lib/python3.8/site-packages/refgenconf/refgenconf.py:773: RuntimeWarning: For genome 'rCRSd' path to the asset 'bowtie2_index/None:default' doesn't exist: /alias/rCRSd/bowtie2_index/default/rCRSd
warnings.warn(msg, RuntimeWarning)

This warning doesn't make sense and should be eliminated, since it's intended that this be a prefix and not a path.

nsheff commented 3 years ago

Docs appear to be wrong, here. Please clarify.

stolarczyk commented 3 years ago

The docs are correct. There was a bug in the code, which is now fixed.