Skip to content
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

Revert "Release candidate v4.1.0" #190

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions configExample.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,24 @@
"project": "production",
"type": "core"
},
"regex": {

"regex": {
"mail_recipient": "[email protected]",
"_comment": "File finding patterns. Only single capture group accepted (for reverse/forward identifier)",
"file_pattern": "\\w{8,12}_\\w{8,10}(?:-\\d+)*_L\\d_(?:R)*(\\d{1}).fastq.gz",
"_comment": "Organisms recognized enough to be considered stable",
"verified_organisms": []
},

"_comment": "Folders",
"folders": {
"folders": {
"_comment": "Root folder for ALL output",
"results": "/tmp/MLST/results/",
"_comment": "Report collection folder",
"reports": "/tmp/MLST/reports/",
"_comment": "Log file position and name",
"log_file": "/tmp/microsalt.log",

"_comment": "Root folder for input fasta sequencing data",
"seqdata": "/tmp/projects/",
"_comment": "ST profiles. Each ST profile file under 'profiles' have an identicial folder under references",
Expand All @@ -32,18 +35,18 @@
"_comment": "Resistances. Commonly from resFinder",
"resistances": "/tmp/MLST/references/resistances",
"_comment": "Download path for NCBI genomes, for alignment usage",
"genomes": "/tmp/MLST/references/genomes",
"_comment": "PubMLST credentials",
"pubmlst_credentials": "/tmp/MLST/credentials"
"genomes": "/tmp/MLST/references/genomes"
},

"_comment": "Database/Flask configuration",
"database": {
"SQLALCHEMY_DATABASE_URI": "sqlite:////tmp/microsalt.db",
"SQLALCHEMY_TRACK_MODIFICATIONS": "False",
"DEBUG": "True"
},

"_comment": "Thresholds for Displayed results",
"threshold": {
"threshold": {
"_comment": "Typing thresholds",
"mlst_id": 100,
"mlst_novel_id": 99.5,
Expand All @@ -69,15 +72,11 @@
"bp_50x_warn": 50,
"bp_100x_warn": 20
},

"_comment": "Genologics temporary configuration file",
"genologics": {
"baseuri": "https://lims.facility.se/",
"username": "limsuser",
"password": "mypassword"
},
"_comment": "PubMLST credentials",
"pubmlst": {
"client_id": "",
"client_secret": ""
}
}
}
9 changes: 0 additions & 9 deletions microSALT/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,6 @@
# Load flask info
app.config.update(preset_config["database"])

# Add `folders` configuration
app.config["folders"] = preset_config.get("folders", {})

# Ensure PubMLST configuration is included
app.config["pubmlst"] = preset_config.get("pubmlst", {
"client_id": "",
"client_secret": ""
})

# Add extrapaths to config
preset_config["folders"]["expec"] = os.path.abspath(
os.path.join(
Expand Down
Empty file.
106 changes: 0 additions & 106 deletions microSALT/utils/pubmlst/authentication.py

This file was deleted.

116 changes: 0 additions & 116 deletions microSALT/utils/pubmlst/client.py

This file was deleted.

79 changes: 0 additions & 79 deletions microSALT/utils/pubmlst/constants.py

This file was deleted.

Loading