Skip to content

Commit

Permalink
clean up cifheader
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Nov 15, 2023
1 parent 6e2c779 commit 722cbf4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions prody/proteins/cifheader.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,17 +124,11 @@ def parseCIFHeader(pdb, *keys):
return header


def getCIFHeaderDict(stream, *keys, **kwargs):
def getCIFHeaderDict(stream, *keys):
"""Returns header data in a dictionary. *stream* may be a list of PDB lines
or a stream.
:arg report: whether to report warnings about not finding data
default False
:type report: bool
"""

report = kwargs.get('report', False)

try:
lines = stream.readlines()
stream.close()
Expand Down

0 comments on commit 722cbf4

Please sign in to comment.