No more error when output folder already exists
All checks were successful
NSBDiagnosisToolkit/pipeline/head This commit looks good
All checks were successful
NSBDiagnosisToolkit/pipeline/head This commit looks good
This commit is contained in:
parent
afbd883e3e
commit
18b003e0e2
2
.gitignore
vendored
2
.gitignore
vendored
@ -356,4 +356,4 @@ package
|
||||
|
||||
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
|
||||
|
||||
src/output.csv
|
||||
output
|
||||
|
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@ -6,7 +6,7 @@
|
||||
"configurations": [
|
||||
|
||||
{
|
||||
"name": "Python Debugger: Current File with Arguments",
|
||||
"name": "CLI ipdbmlst",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/src/nsbdiagnosistoolkit/cli/root.py",
|
||||
|
@ -58,7 +58,7 @@ parser.add_argument(
|
||||
def cli():
|
||||
args = parser.parse_args()
|
||||
gen_strings = aggregator.aggregate_sequences(args.fastas, args.abifs)
|
||||
os.makedirs(args.out)
|
||||
os.makedirs(args.out, exist_ok=True)
|
||||
if args.institut_pasteur_db is not None:
|
||||
mlst_profiles = aggregator.profile_all_genetic_strings(
|
||||
gen_strings, args.institut_pasteur_db)
|
||||
|
Loading…
x
Reference in New Issue
Block a user