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
Currently the tool can update DB by downloading updated files from PubMLST, and, with the specification of a --db location, this update can run even if the tool's install location is read-only (as in the case of e.g. a system-wide install on a multi-user system or in the case of the tool encapsulated in a Docker container). The resulting updated DB will, however, be incomplete.
A work-around is possible where the install-time DB is combined with the updated files downloaded from PubMLST, but preferably the tool should allow the DB to be updated to an arbitrary DB location without resulting in an incomplete DB.
Additionally, the tool should only download files if a newer file is available, i.e. it should use the 'If-Modified-Since' header for HTTP/HTTPS requests. While this is not super-easy with urlretrieve it is possible with (https://stackoverflow.com/a/59602931).
The text was updated successfully, but these errors were encountered:
On the point of having checking if the PubMLST alleles files have been modified - currently they don't provide the right headers but there is an open issue: kjolley/BIGSdb#913
On the point of having checking if the PubMLST alleles files have been modified - currently they don't provide the right headers but there is an open issue: kjolley/BIGSdb#913
Currently the tool can update DB by downloading updated files from PubMLST, and, with the specification of a
--db
location, this update can run even if the tool's install location is read-only (as in the case of e.g. a system-wide install on a multi-user system or in the case of the tool encapsulated in a Docker container). The resulting updated DB will, however, be incomplete.A work-around is possible where the install-time DB is combined with the updated files downloaded from PubMLST, but preferably the tool should allow the DB to be updated to an arbitrary DB location without resulting in an incomplete DB.
Additionally, the tool should only download files if a newer file is available, i.e. it should use the 'If-Modified-Since' header for HTTP/HTTPS requests. While this is not super-easy with
urlretrieve
it is possible with (https://stackoverflow.com/a/59602931).The text was updated successfully, but these errors were encountered: