Skip to content

Commit

Permalink
Code refactoring (2mpg)
Browse files Browse the repository at this point in the history
  • Loading branch information
yokochi47 committed Jul 29, 2024
1 parent 3e4a177 commit b72d55d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wwpdb/utils/nmr/mr/CharmmMRParserListener.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,8 +680,8 @@ def set_label_seq_scheme():
_ps = next((_ps for _ps in self.__polySeqRstFailedAmbig if _ps['chain_id'] == chainId), None)
if _ps is None:
continue
_matched = sa['matched']
for seqId, compIds in zip(_ps['seq_id'], _ps['comp_ids']):
_matched = 0
_compId = None
for compId in list(compIds):
_polySeqRstFailed = copy.deepcopy(self.__polySeqRstFailed)
Expand Down
2 changes: 1 addition & 1 deletion wwpdb/utils/nmr/mr/CnsMRParserListener.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,8 +833,8 @@ def set_label_seq_scheme():
_ps = next((_ps for _ps in self.__polySeqRstFailedAmbig if _ps['chain_id'] == chainId), None)
if _ps is None:
continue
_matched = sa['matched']
for seqId, compIds in zip(_ps['seq_id'], _ps['comp_ids']):
_matched = 0
_compId = None
for compId in list(compIds):
_polySeqRstFailed = copy.deepcopy(self.__polySeqRstFailed)
Expand Down
2 changes: 1 addition & 1 deletion wwpdb/utils/nmr/mr/XplorMRParserListener.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,8 +975,8 @@ def set_label_seq_scheme():
_ps = next((_ps for _ps in self.__polySeqRstFailedAmbig if _ps['chain_id'] == chainId), None)
if _ps is None:
continue
_matched = sa['matched']
for seqId, compIds in zip(_ps['seq_id'], _ps['comp_ids']):
_matched = 0
_compId = None
for compId in list(compIds):
_polySeqRstFailed = copy.deepcopy(self.__polySeqRstFailed)
Expand Down

0 comments on commit b72d55d

Please sign in to comment.