Skip to content

Commit

Permalink
remove minor debugging print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
VarunAnanth2003 committed Apr 27, 2024
1 parent 278436b commit 949ea93
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions casanovo/data/annotate_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,6 @@ def annotate_mgf(peak_path: str, tide_path: str, output: Optional[str]):
mgf.write(all_spec, output, file_mode="w")
logger.info("Annotated .mgf file written to %s.", output)
except Exception as e:
print(f"Write to {output} failed. Check if the file path is correct.")
print(e)
logger.error(
"Write to %s failed. Check if the file path is correct.", output
)

0 comments on commit 949ea93

Please sign in to comment.