https://github.com/MDU-PHL/mlstdb/tree/main/src/mlstdb/data
database species scheme_description scheme URI
scheme URI
Are both of these files needed?
I was wondering if we should havbe 2 files
-
databases.tsv
It has db_name and db_url
Only two entries publist and pasteur
their URLS would have the 'template' for the API for a scheme
eg.https://rest.pubmlst.org/db/pubmlst_{scheme_name}_seqdef/schemes/{schewm_id}
with the 2 special variables.
(this would be a good way to learn new python f-strings ?
-
schemes.txt
Has db_name (key into databases.txt)
And scheme_name eg suareus
And scheme_id eg. 1
This would make it easier to maintain and add new database sources.
https://github.com/MDU-PHL/mlstdb/tree/main/src/mlstdb/data
database species scheme_description scheme URIscheme URIAre both of these files needed?
I was wondering if we should havbe 2 files
databases.tsvIt has
db_nameanddb_urlOnly two entries
publistandpasteurtheir URLS would have the 'template' for the API for a scheme
eg.
https://rest.pubmlst.org/db/pubmlst_{scheme_name}_seqdef/schemes/{schewm_id}with the 2 special variables.
(this would be a good way to learn new python
f-strings?schemes.txtHas
db_name(key intodatabases.txt)And
scheme_nameegsuareusAnd
scheme_ideg.1This would make it easier to maintain and add new database sources.