Skip to content

Commit

Permalink
Fixed f-string quotation error
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskiil committed Dec 17, 2024
1 parent 828a571 commit 83ab3e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bifrost_chewbbaca/rule__blast_genecall.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run_blastn_and_parse(query_fa, db, assembly_sequences,log):
with subprocess.Popen(blastn_cmd, stdout=subprocess.PIPE, text=True, stderr=open(log.err_file, "w+")) as proc:
stdout = proc.communicate()
if proc.returncode != 0:
raise RuntimeError(f"Command {" ".join(blastn_cmd)} failed with code {proc.returncode}.\nCheck the logs in {log.err_file}")
raise RuntimeError(f"Command {' '.join(blastn_cmd)} failed with code {proc.returncode}.\nCheck the logs in {log.err_file}")
for line in stdout:
# Parse the BLAST output line into a dictionary
cols = line.strip().split("\t")
Expand Down

0 comments on commit 83ab3e4

Please sign in to comment.