We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37944cb commit d3c007eCopy full SHA for d3c007e
prody/proteins/cifheader.py
@@ -810,6 +810,7 @@ def _getPolymers(lines, **kwargs):
810
polymers = dict()
811
812
entities = defaultdict(list)
813
+ longSeq = kwargs.get('longSeq', False)
814
815
# SEQRES block
816
items1 = parseSTARSection(lines, '_entity_poly', report=False)
@@ -823,7 +824,6 @@ def _getPolymers(lines, **kwargs):
823
824
poly = polymers.get(ch, Polymer(ch))
825
polymers[ch] = poly
826
- longSeq = kwargs.get('longSeq', False)
827
if longSeq:
828
poly.sequence += ''.join(item[
829
'_entity_poly.pdbx_seq_one_letter_code'].replace(';', '').split())
0 commit comments