Skip to content

Commit 4a12ac7

Browse files
committed
Remove hardcoded database name and update Pasteur service web URL for improved configuration
1 parent b73d70c commit 4a12ac7

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

microSALT/utils/pubmlst/get_credentials.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
from microSALT.utils.pubmlst.helpers import get_path, get_service_config, folders_config
88
from microSALT.utils.pubmlst.constants import CREDENTIALS_KEY
99

10-
db = "pubmlst_test_seqdef"
11-
12-
1310
def validate_credentials(client_id, client_secret):
1411
"""Ensure client_id and client_secret are not empty."""
1512
if not client_id or not client_id.strip():

microSALT/utils/pubmlst/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def get_service_config(service: str):
5252
"config": app.config["pubmlst"],
5353
},
5454
"pasteur": {
55-
"base_web": "https://bigsdb.pasteur.fr",
55+
"base_web": "https://bigsdb.pasteur.fr/bigsdb",
5656
"base_api": "https://bigsdb.pasteur.fr/api",
5757
"base_api_host": "bigsdb.pasteur.fr",
5858
"database": "pasteur_test_seqdef",

0 commit comments

Comments
 (0)