Skip to content

Commit

Permalink
Clarify dssp error message
Browse files Browse the repository at this point in the history
  • Loading branch information
pckroon committed Mar 22, 2023
1 parent ed844f2 commit c7ed734
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vermouth/dssp/dssp.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,10 @@ def run_dssp(system, executable='dssp', savefile=None, defer_writing=True):
raise DSSPError('Failed to get DSSP version information.')
if not version in SUPPORTED_DSSP_VERSIONS:
LOGGER.warning("Vermouth is tested only with DSSP versions {}. "
"The specified DSSP version {} may result inaccurate "
"secondary structure assignment.",
"The provided DSSP (version {}) may result in inaccurate "
"secondary structure assignments. As alternative you can "
"provide a secondary structure assignment string using "
"the `-ss` option.",
SUPPORTED_DSSP_VERSIONS, version,
type='DSSP-version')

Expand Down

0 comments on commit c7ed734

Please sign in to comment.