Skip to content

Commit

Permalink
fix ruff error
Browse files Browse the repository at this point in the history
  • Loading branch information
gcroci2 committed Jun 17, 2024
1 parent ee08b3a commit 476fd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deeprank2/features/secondary_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _get_secstructure(pdb_path: str) -> dict:

try:
dssp = DSSP(model, pdb_path, dssp="mkdssp")
except Exception as e: # noqa: BLE001, namely: # improperly formatted pdb files raise: `Exception: DSSP failed to produce an output`
except Exception as e:
pdb_format_link = "https://www.wwpdb.org/documentation/file-format-content/format33/sect1.html#Order"
msg = (
f"DSSP has raised the following exception: {e}.\n\t"
Expand Down

0 comments on commit 476fd65

Please sign in to comment.