Skip to content

Commit d66307b

Browse files
committed
Fix wrong exception raise statement position
1 parent 9a626f6 commit d66307b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cogclassifier/blast.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ def _run_cmd(
115115
logger.error("STDERR:")
116116
for line in stderr_lines:
117117
logger.error(f"> {line}")
118-
logger.error("Failed to run 'RPS-BLAST'!!")
119-
raise
118+
logger.error("Failed to run 'RPS-BLAST'!!")
119+
raise
120120
except FileNotFoundError:
121121
raise
122122

0 commit comments

Comments
 (0)