From 4b10f24ee31e7f3768181efad002abd914c541ed Mon Sep 17 00:00:00 2001 From: James Krieger Date: Wed, 27 Dec 2023 15:26:32 +0000 Subject: [PATCH] make parseMMCIF report arg pass through --- prody/proteins/ciffile.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/prody/proteins/ciffile.py b/prody/proteins/ciffile.py index f64aeceed..874fba4e8 100644 --- a/prody/proteins/ciffile.py +++ b/prody/proteins/ciffile.py @@ -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: @@ -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 ' @@ -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