Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
ae96f2f9df | |||
15ad241303 |
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -37,6 +37,9 @@ pipeline {
|
|||||||
stage("publish") {
|
stage("publish") {
|
||||||
parallel {
|
parallel {
|
||||||
stage ("git.reslate.systems") {
|
stage ("git.reslate.systems") {
|
||||||
|
when {
|
||||||
|
branch '**/main'
|
||||||
|
}
|
||||||
environment {
|
environment {
|
||||||
CREDS = credentials('username-password-rs-git')
|
CREDS = credentials('username-password-rs-git')
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@ dynamic = ["version"]
|
|||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = {text = "GPL-3.0-or-later"}
|
license = {text = "GPL-3.0-or-later"}
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"autoBIGS-engine==0.13.*"
|
"autoBIGS-engine==0.14.*"
|
||||||
]
|
]
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
description = "A CLI tool to rapidly fetch fetch MLST profiles given sequences for various diseases."
|
description = "A CLI tool to rapidly fetch fetch MLST profiles given sequences for various diseases."
|
||||||
|
@ -79,7 +79,7 @@ async def run(args: Namespace):
|
|||||||
if not isinstance(mlst_profiler, BIGSdbMLSTProfiler):
|
if not isinstance(mlst_profiler, BIGSdbMLSTProfiler):
|
||||||
raise TypeError("MLST profiler type invalid")
|
raise TypeError("MLST profiler type invalid")
|
||||||
mlst_profiles = mlst_profiler.profile_multiple_strings(gen_strings, args.stop_on_fail)
|
mlst_profiles = mlst_profiler.profile_multiple_strings(gen_strings, args.stop_on_fail)
|
||||||
failed = await write_mlst_profiles_as_csv(mlst_profiles, args.out)
|
failed = await write_mlst_profiles_as_csv(mlst_profiles, args.out, await bigsdb_index.get_scheme_loci(args.seqdefdb, selected_scheme_id))
|
||||||
if len(failed) > 0:
|
if len(failed) > 0:
|
||||||
print(f"A total of {len(failed)} IDs failed (no profile found):\n{"\n".join(failed)}")
|
print(f"A total of {len(failed)} IDs failed (no profile found):\n{"\n".join(failed)}")
|
||||||
print(f"Completed fetching from {args.seqdefdb} for {scheme_name_lookup[selected_scheme_id]}s for {len(fastas)} sequences.")
|
print(f"Completed fetching from {args.seqdefdb} for {scheme_name_lookup[selected_scheme_id]}s for {len(fastas)} sequences.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user