Skip to content

Commit

Permalink
Remove --nopath option (overwrites results for same filenames)
Browse files Browse the repository at this point in the history
  • Loading branch information
stroehleina committed Oct 24, 2022
1 parent e34cf0a commit 3d9b8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngmaster/run_ngmaster.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def main():
printseq = ['--novel', scheme.upper() + "__" + args.printseq[0]]

try:
result = subprocess.run([mlstpath, '--legacy', '-q', '--nopath', '--threads', '16', '--datadir', DBpath + '/pubmlst', '--blastdb', DBpath + '/blast/mlst.fa', '--scheme', scheme] + idcov + printseq + args.fasta, capture_output=True, check=True, text=True)
result = subprocess.run([mlstpath, '--legacy', '-q', '--threads', '16', '--datadir', DBpath + '/pubmlst', '--blastdb', DBpath + '/blast/mlst.fa', '--scheme', scheme] + idcov + printseq + args.fasta, capture_output=True, check=True, text=True)
rlist = result.stdout.split("\n")[:-1] # drop last empty line

# INFO Checking number of alleles to catch mlst error
Expand Down

0 comments on commit 3d9b8d6

Please sign in to comment.