wwpdb.apps.seqmodule 0.27.2__tar.gz → 0.27.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/PKG-INFO +1 -1
  2. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/__init__.py +1 -1
  3. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/BlastPlusReader.py +3 -0
  4. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/FetchSeqInfoUtils.py +3 -2
  5. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/PdbxIoUtils.py +4 -0
  6. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/update/UpdatePolymerEntityPartitions.py +1 -0
  7. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/FetchReferenceSequenceUtils.py +10 -6
  8. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/LocalBlastSearchUtils.py +8 -8
  9. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/SequenceReferenceData.py +3 -0
  10. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/webapp/SeqModWebApp_v2.py +6 -0
  11. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb.apps.seqmodule.egg-info/PKG-INFO +1 -1
  12. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/README.md +0 -0
  13. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/setup.cfg +0 -0
  14. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/setup.py +0 -0
  15. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/__init__.py +0 -0
  16. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/__init__.py +0 -0
  17. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/align/AlignmentBackEndEditingTools.py +0 -0
  18. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/align/AlignmentDepictionTools.py +0 -0
  19. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/align/AlignmentExport.py +0 -0
  20. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/align/AlignmentFrontEndUIEditor.py +0 -0
  21. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/align/AlignmentStatistics.py +0 -0
  22. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/align/AlignmentStatisticsTests.py +0 -0
  23. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/align/AlignmentToolUtils.py +0 -0
  24. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/align/AlignmentTools.py +0 -0
  25. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/align/__init__.py +0 -0
  26. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/control/DataImporter.py +0 -0
  27. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/control/SequenceDataAssembleExample.py +0 -0
  28. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/control/SequenceDataAssembleTests.py +0 -0
  29. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/control/SequenceDataAssemble_v2.py +0 -0
  30. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/control/SequenceDataPrepTests.py +0 -0
  31. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/control/SummaryViewDepiction.py +0 -0
  32. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/control/SummaryViewTests.py +0 -0
  33. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/control/SummaryView_v2.py +0 -0
  34. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/control/__init__.py +0 -0
  35. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/AlignmentDataStore.py +0 -0
  36. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/ModelSequenceUtils.py +0 -0
  37. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/ModelSequenceUtilsTests.py +0 -0
  38. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/SequenceDataExportTests.py +0 -0
  39. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/SequenceDataExport_v2.py +0 -0
  40. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/SequenceDataStore.py +0 -0
  41. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/SequenceDataStoreTests.py +0 -0
  42. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/SequenceEditStore.py +0 -0
  43. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/SequenceEditStoreTests.py +0 -0
  44. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/TaxonomyDbUtils.py +0 -0
  45. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/TaxonomyUtils.py +0 -0
  46. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/TaxonomyUtilsTests.py +0 -0
  47. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/__init__.py +0 -0
  48. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/io/testAuto.py +0 -0
  49. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/link/PolymerLinkageDepict.py +0 -0
  50. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/link/__init__.py +0 -0
  51. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/update/UpdatePolymerEntityReference_v2.py +0 -0
  52. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/update/UpdatePolymerEntitySourceDetails.py +0 -0
  53. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/update/__init__.py +0 -0
  54. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/Autodict.py +0 -0
  55. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/GetSameSeqAnnotationWithTaxIdOnly.py +0 -0
  56. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/MultiProcLimit.py +0 -0
  57. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/SearchEntityPolySeqs.py +0 -0
  58. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/SeqReferenceSearchUtils.py +0 -0
  59. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/SequenceAssign.py +0 -0
  60. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/SequenceExamples.py +0 -0
  61. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/SequenceFeatureDepict.py +0 -0
  62. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/SequenceLabel.py +0 -0
  63. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/UpdateSequenceDataStoreUtils.py +0 -0
  64. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/util/__init__.py +0 -0
  65. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/view3d/ModelViewer3D.py +0 -0
  66. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/view3d/__init__.py +0 -0
  67. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/webapp/SeqModWebRequest.py +0 -0
  68. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb/apps/seqmodule/webapp/__init__.py +0 -0
  69. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb.apps.seqmodule.egg-info/SOURCES.txt +0 -0
  70. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb.apps.seqmodule.egg-info/dependency_links.txt +0 -0
  71. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb.apps.seqmodule.egg-info/not-zip-safe +0 -0
  72. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb.apps.seqmodule.egg-info/requires.txt +0 -0
  73. {wwpdb_apps_seqmodule-0.27.2 → wwpdb_apps_seqmodule-0.27.3}/wwpdb.apps.seqmodule.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wwpdb.apps.seqmodule
3
- Version: 0.27.2
3
+ Version: 0.27.3
4
4
  Summary: wwPDB sequence module
5
5
  Home-page: https://github.com/wwPDB/py-wwpdb_apps_seqmodule
6
6
  Author: Ezra Peisach
@@ -2,4 +2,4 @@ __docformat__ = "restructuredtext en"
2
2
  __author__ = "Ezra Peisach"
3
3
  __email__ = "ezra.peisach@rcsb.org"
4
4
  __license__ = "Apache 2.0"
5
- __version__ = "0.27.2"
5
+ __version__ = "0.27.3"
@@ -111,6 +111,9 @@ class BlastPlusReader(object):
111
111
  description = ""
112
112
  length = ""
113
113
  # _code = ""
114
+ dbName = ""
115
+ dbCode = ""
116
+ isoForm = ""
114
117
  for node in nodelist:
115
118
  if node.nodeType != node.ELEMENT_NODE:
116
119
  continue
@@ -277,11 +277,12 @@ class FetchSeqInfoUtils(object):
277
277
  #
278
278
  return myD
279
279
 
280
- def __fetchUniProtXmlFile(self, idCodeList=[], filePath=None):
280
+ def __fetchUniProtXmlFile(self, idCodeList=None, filePath=None):
281
281
  """ Fetch Uniprot Xml File
282
282
  """
283
+ # Handles empty list as well
283
284
  if not idCodeList:
284
- return;
285
+ return
285
286
  #
286
287
  fobj = FetchUnpXml(verbose=self.__verbose, log=self.__lfh)
287
288
  ok = fobj.fetchList(idCodeList)
@@ -1304,6 +1304,8 @@ class ModelFileIo(object):
1304
1304
  def getEncapsulatedCoordinates(self):
1305
1305
  """_pdbx_original_pdb_coordinates.coord_section"""
1306
1306
  try:
1307
+ row = [""] # Keep pylint happy.
1308
+ encapCoordTable = [""] # For pylint
1307
1309
  if self.__currentContainer.exists("pdbx_original_pdb_coordinates"):
1308
1310
  encapCoordTable = self.__currentContainer.getObj("pdbx_original_pdb_coordinates")
1309
1311
  elif self.__currentContainer.exists("ndb_original_pdb_coordinates"):
@@ -1616,11 +1618,13 @@ class ModelFileIo(object):
1616
1618
  #
1617
1619
  i3L = colNames.index("label_seq_id")
1618
1620
  #
1621
+ i4 = 0 # For pylint - should never happen
1619
1622
  if "pdbx_PDB_model_num" in colNames:
1620
1623
  i4 = colNames.index("pdbx_PDB_model_num")
1621
1624
  elif "ndb_model" in colNames:
1622
1625
  i4 = colNames.index("ndb_model")
1623
1626
  #
1627
+ i8 = 0 # Should never happen - keep pylint happy
1624
1628
  if "pdbx_PDB_ins_code" in colNames:
1625
1629
  i8 = colNames.index("pdbx_PDB_ins_code")
1626
1630
  elif "ndb_ins_code" in colNames:
@@ -598,6 +598,7 @@ class UpdatePolymerEntityPartitions(object):
598
598
  #
599
599
  partIdList = self.__sds.getPartIds(seqId0, dataType="sequence", seqType="auth")
600
600
 
601
+ lastPart = "" # Keep pylint happy
601
602
  for partId in partIdList:
602
603
  vL = self.__sds.getVersionIds(seqId0, partId=partId, altId=1, dataType="sequence", seqType="auth")
603
604
  if len(vL) > 0:
@@ -165,17 +165,16 @@ class FetchReferenceSequenceUtils(object):
165
165
  #
166
166
  #
167
167
  #
168
- autoMatchStatus, alignInfoD = self.runSeqAlignment(self.__refInfoD["sequence"], authSeq, seqNumBeg, mutationList, mutationMap)
168
+ autoMatchStatus, skipBlastSearch, alignInfoD = self.runSeqAlignment(self.__refInfoD["sequence"], authSeq, seqNumBeg, mutationList, mutationMap)
169
169
  if alignInfoD:
170
170
  # Check Taxonomy ID information
171
171
  if ("taxonomy_id" in self.__refInfoD) and (self.__refInfoD["taxonomy_id"]) and taxId and (self.__refInfoD["taxonomy_id"] != taxId):
172
172
  autoMatchStatus = False
173
173
  #
174
- self.__lfh.write("autoMatchStatus=%r alignInfoD=%d\n" % (autoMatchStatus, len(alignInfoD)))
175
174
  self.__refInfoD.update(alignInfoD)
176
- return autoMatchStatus, self.__refInfoD
175
+ return autoMatchStatus, skipBlastSearch, self.__refInfoD
177
176
  else:
178
- return False, {}
177
+ return False, False, {}
179
178
  #
180
179
 
181
180
  def runSeqAlignment(self, refSeq, authSeq, seqNumBeg, mutationList, mutationMap):
@@ -301,9 +300,14 @@ class FetchReferenceSequenceUtils(object):
301
300
  retD["sort_order"] = "1"
302
301
  #
303
302
  if (identity + mutation) == len(authSeqList):
304
- return True, retD
303
+ # Add for DAOTHER-9536
304
+ if gaps == 0:
305
+ return True, True, retD
306
+ else:
307
+ return False, True, retD
308
+ #
305
309
  else:
306
- return False, retD
310
+ return False, False, retD
307
311
  #
308
312
 
309
313
  def __getReferenceList(self, sequence, polyTypeCode, refSeqBeg, refSeqEnd, reverseOrder):
@@ -355,15 +355,15 @@ class LocalBlastSearchUtils(object):
355
355
  #
356
356
  #
357
357
  #
358
- autoMatchStatus, authHitList = self.__fetchAuthProvidedRefSequence(searchSequence, seqNumBeg, seqNumEnd, str(partNum), taxId, mutationList,
359
- len(self.__entityD["PART_LIST"]))
358
+ autoMatchStatus, skipBlastSearch, authHitList = self.__fetchAuthProvidedRefSequence(searchSequence, seqNumBeg, seqNumEnd, str(partNum), \
359
+ taxId, mutationList, len(self.__entityD["PART_LIST"]))
360
360
  if not autoMatchStatus:
361
361
  foundPerfectMatch = False
362
362
  #
363
363
  if authHitList:
364
364
  authRefD[str(partNum)] = authHitList
365
365
  # Skip blast search if found perfect author provided reference sequence match
366
- if autoMatchStatus:
366
+ if autoMatchStatus or skipBlastSearch:
367
367
  continue
368
368
  #
369
369
  # Skip blast search for short sequence
@@ -468,7 +468,7 @@ class LocalBlastSearchUtils(object):
468
468
  def __fetchAuthProvidedRefSequence(self, sequence, seqNumBeg, seqNumEnd, seqPartId, taxId, mutationList, partNumbers):
469
469
  """Fetch reference sequence based on author provided ref IDs"""
470
470
  if (not self.__authRefDataList) or (len(self.__authRefDataList) > partNumbers):
471
- return False, []
471
+ return False, False, []
472
472
  #
473
473
  refData = []
474
474
  if partNumbers > 1:
@@ -482,10 +482,10 @@ class LocalBlastSearchUtils(object):
482
482
  refData = self.__authRefDataList[0]
483
483
  #
484
484
  if not refData:
485
- return False, []
485
+ return False, False, []
486
486
  #
487
487
  fetchUtil = FetchReferenceSequenceUtils(siteId=self.__siteId, seqReferenceData=self.__srd, verbose=self.__verbose, log=self.__lfh)
488
- autoMatchStatus, hitD = fetchUtil.fetchReferenceSequenceWithSeqMatch(refData[0], refData[1], refData[2], taxId, sequence, seqNumBeg, mutationList)
488
+ autoMatchStatus, skipBlastSearch, hitD = fetchUtil.fetchReferenceSequenceWithSeqMatch(refData[0], refData[1], refData[2], taxId, sequence, seqNumBeg, mutationList)
489
489
  if hitD:
490
490
  hitD["beg_seq_num"] = seqNumBeg
491
491
  hitD["end_seq_num"] = seqNumEnd
@@ -500,12 +500,12 @@ class LocalBlastSearchUtils(object):
500
500
  if autoMatchStatus:
501
501
  hitD["auto_match_status"] = True
502
502
  #
503
- return autoMatchStatus, [hitD]
503
+ return autoMatchStatus, skipBlastSearch, [hitD]
504
504
  else:
505
505
  self.__lfh.write("+LocalBlastSearchUtils.__fetchAuthProvidedRefSequence() get sequence alignment index error: %s\n" % error)
506
506
  #
507
507
  #
508
- return False, []
508
+ return False, False, []
509
509
 
510
510
  def __writeSearchResult(self, rD):
511
511
  """Write out the current search result pickle file"""
@@ -287,6 +287,7 @@ class SequenceReferenceData(object):
287
287
  return r1L, r3L
288
288
 
289
289
  inP = False
290
+ r3 = "" # For pylint
290
291
  for s in ss:
291
292
  if s in string.whitespace:
292
293
  continue
@@ -325,6 +326,7 @@ class SequenceReferenceData(object):
325
326
  return r1L, r3L
326
327
 
327
328
  inP = False
329
+ r3 = "" # For pylint
328
330
  for s in ss:
329
331
  if s in string.whitespace:
330
332
  continue
@@ -363,6 +365,7 @@ class SequenceReferenceData(object):
363
365
  return r1L, r3L
364
366
 
365
367
  inP = False
368
+ r3 = "" # To keep pylint happy
366
369
  for s in ss:
367
370
  if s in string.whitespace:
368
371
  continue
@@ -512,6 +512,8 @@ class SeqModWebAppWorker(object):
512
512
  if authId is not None and len(authId) > 1:
513
513
  tL = str(authId).split("_")
514
514
  entityId = tL[2]
515
+ else:
516
+ entityId = "???" # keep pylint happy
515
517
  cD = self.__makeTaxonomyEditForm(entityId=entityId, entryId=identifier)
516
518
  self.__reqObj.setReturnFormat(return_format="json")
517
519
  rC = SeqModResponseContent(reqObj=self.__reqObj, verbose=self.__verbose, log=self.__lfh)
@@ -571,6 +573,9 @@ class SeqModWebAppWorker(object):
571
573
  tL = str(refId).split("_")
572
574
  entityId = str(tL[1])
573
575
  partId = str(tL[3])
576
+ else:
577
+ entityId = ""
578
+ partId = ""
574
579
  #
575
580
  sdU = UpdatePolymerEntityReference(reqObj=self.__reqObj, verbose=self.__verbose, log=self.__lfh)
576
581
  cD = sdU.makeSeqdbrefEditForm(entityId, partId, entryId=identifier)
@@ -1298,6 +1303,7 @@ class SeqModWebAppWorker(object):
1298
1303
  if self.__verbose:
1299
1304
  self.__lfh.write("\n\n+SeqModWebApp.__closeSeqEditor() - starting with operation %s\n" % mode)
1300
1305
 
1306
+ state = "???" # pylint noted could be unset
1301
1307
  if mode == "completed":
1302
1308
  state = "closed(0)"
1303
1309
  elif mode == "unfinished":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wwpdb.apps.seqmodule
3
- Version: 0.27.2
3
+ Version: 0.27.3
4
4
  Summary: wwPDB sequence module
5
5
  Home-page: https://github.com/wwPDB/py-wwpdb_apps_seqmodule
6
6
  Author: Ezra Peisach