-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amrfinder_update does NOT respect DEFAULT_DB_DIR while amrfinder -u does #89
Comments
Hi Eric, Thanks for writing, and yes the database location behavior is perhaps not ideal. We spent some time discussing alternatives so I'm glad to hear your opinions. First off the And yes, the default location is still a subdirectory of the location of the binary. We fixed that for the conda release by compiling with a different What we came up might not be the ideal solution, but the alternatives we could think of all have issues. We could hardcode the directory to something like Thanks for your interest, and I'd be happy to hear any thoughts you have. Arjun |
Hello Arjun. In my opinion data should not go to I would say default data location root should be currently hardcoding the directory to to something like sorry I'm dumb at C++ so I can't provide a pull request. of course I can use only regards Eric |
I have an opposite extreme idea that all code+data must be in the same place and a user should only update this as one whole. (This is the OOP idea.) |
different point of view ;-) regards |
Could you answer these questions:
|
our cluster setup is quite standard
Eric |
Then you need to install the AMRFinderPlus executables and data only once on the NFS shared drive.
Why does it matter where exactly $DATA is located? |
many thanks for the explanations.... ;-) but did you ever read the original question ? can we go back to the original topic. regards Eric |
Why is it supposed to? |
maybee because |
thanks for the fix Eric |
Hello,
amrfinder_update
does not respectDEFAULT_DB_DIR
when build withmake DEFAULT_DB_DIR=somewhere
while
amrfinder -u
as it callsexec (fullProg ("amrfinder_update") + " -d " + shellQuote (dbDir. getParent ()) + ifS (force_update, " --force_update")
also amrfinder_update still place the data in the same location the binary is located. related #8
regards
Eric
The text was updated successfully, but these errors were encountered: