Closed cherman2 closed 2 years ago
Hey @cherman2 & @lizgehret - can you confirm what git commit you currently have checked out when you ran into this? I just pulled down the latest main
and I've got that missing file sitting in my site-packages
:
ls -l ~/.conda/envs/q2dev/lib/python3.8/site-packages/provenance_lib main 7ce4e35
total 176
drwxr-sr-x 2 matthew matthew 4096 Jun 1 14:00 __pycache__
drwxr-sr-x 2 matthew matthew 4096 Jun 1 14:00 assets
drwxr-sr-x 3 matthew matthew 4096 Jun 1 14:00 tests
-rw-r--r-- 1 matthew matthew 1046 Jun 1 14:00 __init__.py
-rw-r--r-- 1 matthew matthew 29791 Jun 1 14:00 _archive_parser.py
-rw-r--r-- 1 matthew matthew 8395 Jun 1 14:00 _checksum_validator.py
-rw-r--r-- 1 matthew matthew 25335 Jun 1 14:00 _usage_drivers.py
-rw-r--r-- 1 matthew matthew 4774 Jun 1 14:00 _yaml_constructors.py
-rw-r--r-- 1 matthew matthew 9834 Jun 1 14:00 click_commands.py
-rw-r--r-- 1 matthew matthew 20485 Jun 1 14:00 parse.py
-rw-r--r-- 1 matthew matthew 2755 Jun 1 14:00 q2_citation.bib
-rw-r--r-- 1 matthew matthew 32751 Jun 1 14:00 replay.py
-rw-r--r-- 1 matthew matthew 1576 Jun 1 14:00 util.py
-rw-r--r-- 1 matthew matthew 2324 Jun 1 14:00 version_parser.py
@thermokarst , Yup, Sorry it was an old commit. My bad.
No problem, I'm glad it was an easy fix!
@thermokarst circling back here for MacOS - I had an old commit as well, everything works as expected after pulling the latest from main!
Bug Description: I installed a clean QIIME2 2022.2 Dev and pip install . in my provenance_lib directory and then tried to run:
replay citations --i-in-fp ~/chloe-analysis/Tomatoes/its/githubdata/ --o-out-fp ~/chloe-analysis/Tomatoes/its/its-replay.bib
and got this error:
I was able to solve this issue by going into the directory ~/provenance-lib/provenance_lib and copying the q2_citation.bib from there into the directory listed in the error scratch/crh423/conda/envs/qiime2-2022.2/lib/python3.8/site-packages/provenance_lib/q2_citation.bib
Steps to reproduce the behavior:
Computation Environment: I was able to replicate this on MacOS( thanks @lizgehret ) and a Linux based HPC.