Skip to content

Commit

Permalink
allow forgotten None case
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Oct 12, 2023
1 parent ce01519 commit de67ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prody/proteins/ciffile.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def parseMMCIF(pdb, **kwargs):
# e.g. multiple biomol assemblies
[r.setChids(r.getSegnames()) for r in result[0] if isinstance(r, AtomGroup)]

else:
elif result is not None:
raise TypeError('result from parseMMCIFStream should be a tuple, AtomGroup or list')
return result

Expand Down

0 comments on commit de67ffc

Please sign in to comment.