Skip to content

Commit

Permalink
PEP8 and pylint cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Ezra Peisach committed Aug 31, 2024
1 parent 19396f7 commit 2fdac27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion wwpdb/apps/entity_transform/depict/PrdSummaryDepict.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def __init__(self, reqObj=None, summaryCifObj=None, verbose=False, log=sys.stder
self.__graphmatchResultFlag = False
self.__combResidueFlag = False
self.__splitPolymerResidueFlag = False
self.__pcmLabelList = []

def DoRenderSummaryPage(self, imageFlag=True):
"""
Expand Down Expand Up @@ -97,7 +98,7 @@ def DoRenderSummaryPage(self, imageFlag=True):
text += '<li><span style="color:orange" class="fltlft">Existing CCD ID without PCM data covalently linked to a polymer residue, or in the polymer sequence</span></li>\n'
#
if "3" in self.__pcmLabelList:
text += '<li><span style="color:red" class="fltlft">CCD ID that should be not used as PCM/PTM observed covalently linked to a polymer residue, or in the polymer sequence</span></li>\n'
text += '<li><span style="color:red" class="fltlft">CCD ID that should be not used as PCM/PTM observed covalently linked to a polymer residue, or in the polymer sequence</span></li>\n' # noqa: E501
#
text += '</ul>\n'
#
Expand Down
2 changes: 1 addition & 1 deletion wwpdb/apps/entity_transform/depict/ProcessPrdSummary.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def run(self, imageFlag=True):
if imageFlag:
self.__generateImage()
#
val = self.__cifObj.getPcmLabel()
val = self.__cifObj.getPcmLabel()
if val:
self.__pcmLabelList = val.split(",")
#
Expand Down

0 comments on commit 2fdac27

Please sign in to comment.