Skip to content

Commit

Permalink
make parseMMCIF report arg pass through
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Dec 27, 2023
1 parent 6c079e6 commit 4b10f24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions prody/proteins/ciffile.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def parseMMCIFStream(stream, **kwargs):
unite_chains = kwargs.get('unite_chains', False)
altloc = kwargs.get('altloc', 'A')
header = kwargs.get('header', False)
report = kwargs.get('report', False)
assert isinstance(header, bool), 'header must be a boolean'

if model is not None:
Expand Down Expand Up @@ -235,7 +236,7 @@ def parseMMCIFStream(stream, **kwargs):
hd = getCIFHeaderDict(lines)

_parseMMCIFLines(ag, lines, model, chain, subset, altloc,
segment, unite_chains)
segment, unite_chains, report)

if ag.numAtoms() > 0:
LOGGER.report('{0} atoms and {1} coordinate set(s) were '
Expand Down Expand Up @@ -281,7 +282,7 @@ def parseMMCIFStream(stream, **kwargs):

def _parseMMCIFLines(atomgroup, lines, model, chain, subset,
altloc_torf, segment, unite_chains,
report=False):
report):
"""Returns an AtomGroup. See also :func:`.parsePDBStream()`.
:arg lines: mmCIF lines
Expand Down

0 comments on commit 4b10f24

Please sign in to comment.