caporaso-lab / sourcetracker2

SourceTracker2
BSD 3-Clause "New" or "Revised" License
60 stars 45 forks source link

Fixing citation.bib installation issues for QIIME2 plugin #139

Open cameronmartino opened 3 years ago

cameronmartino commented 3 years ago

Hello,

The citations.bib file was not tracking in the Q2 installation causing an error when running qiime dev refresh-cache. The error looked something like:

FileNotFoundError: [Errno 2] No such file or directory: '/Users/username/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/sourcetracker/_q2/citations.bib'

To fix this and ensure citation.bib is included in the install I moved it up a directory. This seems to have fixed the issue when I install it from the branch (i.e. pip install git+https://github.com/cameronmartino/sourcetracker2@fixq2citations) and re-run qiime dev refresh-cache.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 96.923% when pulling fd3b44283f6c00afbd13e5e8065f7cf6134fd711 on cameronmartino:fixq2citations into b115bc1f72b678c3aa2284935b6b8fd2eee54285 on biota:master.