Skip to content

Commit 65fa549

Browse files
committed
force string for mypy
1 parent 0db25d8 commit 65fa549

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/nplinker/genomics/bigscape/runbigscape.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ def run_bigscape(
5757
if not os.path.exists(antismash_path):
5858
raise FileNotFoundError(f'antismash_path "{antismash_path}" does not exist!')
5959

60-
6160
logger.info(f"Running BiG-SCAPE version {version}")
6261
logger.info(
6362
f'run_bigscape: input="{antismash_path}", output="{output_path}", extra_params={extra_params}"'
@@ -90,6 +89,6 @@ def run_bigscape(
9089

9190
# otherwise log details and raise a runtime error
9291
logger.error(f"BiG-SCAPE failed with return code {result.returncode}")
93-
logger.error(f"output: {result.stdout}")
92+
logger.error(f"output: {str(result.stdout)}")
9493

9594
raise RuntimeError(f"Failed to run BiG-SCAPE with error code {result.returncode}")

0 commit comments

Comments
 (0)