Skip to content

Commit

Permalink
force string for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
adraismawur committed Jul 16, 2024
1 parent 0db25d8 commit 65fa549
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/nplinker/genomics/bigscape/runbigscape.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def run_bigscape(
if not os.path.exists(antismash_path):
raise FileNotFoundError(f'antismash_path "{antismash_path}" does not exist!')


logger.info(f"Running BiG-SCAPE version {version}")
logger.info(
f'run_bigscape: input="{antismash_path}", output="{output_path}", extra_params={extra_params}"'
Expand Down Expand Up @@ -90,6 +89,6 @@ def run_bigscape(

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

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

0 comments on commit 65fa549

Please sign in to comment.