We have blobtools installed in a cluster environment, where creation of the default taxonomy db is possible during installation by someone with sufficient permissions, but not by users loading blobtools as a module. There is also no facility for creating a taxonomy db in some location other than the default, although it is possible to load a taxonomy db from another location with --db.
This pull request modified blobtools create a bit to allow creation of a taxonomy db when --nodes, --names, and --db are all specified and the taxonomy db named by --db does not exist. In that case, there is no attempt to create the default database, only the named database.
We have blobtools installed in a cluster environment, where creation of the default taxonomy db is possible during installation by someone with sufficient permissions, but not by users loading blobtools as a module. There is also no facility for creating a taxonomy db in some location other than the default, although it is possible to load a taxonomy db from another location with
--db
.This pull request modified
blobtools create
a bit to allow creation of a taxonomy db when--nodes
,--names
, and--db
are all specified and the taxonomy db named by--db
does not exist. In that case, there is no attempt to create the default database, only the named database.