Skip to content

Commit

Permalink
raise import error
Browse files Browse the repository at this point in the history
  • Loading branch information
vratins authored Oct 4, 2023
1 parent d8ace05 commit b2da750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prody/proteins/mmtffile.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def parseMMTF(mmtf_struc, **kwargs):
from mmtf import fetch, parse
import mmtf
except ImportError:
print("Install mmtf to read in mmtf structure objects (e.g. pip install mmtf-python)")
raise ImportError("Install mmtf to read in mmtf structure objects (e.g. pip install mmtf-python)")

chain = kwargs.pop('chain', None)
title = kwargs.get('title', None)
Expand Down

0 comments on commit b2da750

Please sign in to comment.