You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Really great tool @evolarjun! I'm curious to get your thoughts on handling existing databases.
Currently if a database already exists it is overwritten then downloaded again.
amrfinder -u
Running amrfinder -u
Running /home/rpetit/miniconda3/envs/amr/bin/amrfinder_update -d /home/rpetit/miniconda3/envs/amr/share/amrfinderplus/data
/home/rpetit/miniconda3/envs/amr/share/amrfinderplus/data/2019-09-06.1/ already exists, overwriting what was there
Dowloading AMRFinder database version 2019-09-06.1 into /home/rpetit/miniconda3/envs/amr/share/amrfinderplus/data/2019-09-06.1/
Indexing
I wonder if it would be better to raise an error and require the user to explicitly tell amrfinder (ex --force) to overwrite the existing database.
An alternative, would be allow user to disable the overwrite (ex. --skip_existing).