Skip to content

Commit

Permalink
change os.linesep to eol in cli/mk_prepare_ligand.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxayheee committed Nov 17, 2024
1 parent 5be8562 commit 506bb59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meeko/cli/mk_prepare_ligand.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from datetime import datetime
import io
import os
from os import linesep as eol
import sys
import json
import tarfile
Expand Down Expand Up @@ -333,7 +334,7 @@ def cmd_lineparser():
sys.exit(2)
is_covalent = num_required_covalent_args == 3
if is_covalent and not _has_prody:
msg = "Covalent docking requires Prody which is not installed." + os.linesep
msg = "Covalent docking requires Prody which is not installed." + eol
msg += "Installable from PyPI (pip install prody) or conda-forge (micromamba install prody)"
print(_prody_import_error, file=sys.stderr)
print(msg)
Expand Down

0 comments on commit 506bb59

Please sign in to comment.