wwpdb.apps.ccmodule 0.30__tar.gz → 0.32__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 (58) hide show
  1. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/PKG-INFO +11 -2
  2. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/__init__.py +1 -1
  3. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/chem/ChemCompAssignDepict.py +3 -0
  4. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/webapp/ChemCompWebApp.py +14 -7
  5. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb.apps.ccmodule.egg-info/PKG-INFO +11 -2
  6. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/README.md +0 -0
  7. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/setup.cfg +0 -0
  8. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/setup.py +0 -0
  9. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/__init__.py +0 -0
  10. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/__init__.py +0 -0
  11. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/chem/ChemCompAnnotate.py +0 -0
  12. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/chem/ChemCompAssign.py +0 -0
  13. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/chem/ChemCompAssignDepictLite.py +0 -0
  14. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/chem/PdbxChemCompAssign.py +0 -0
  15. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/chem/__init__.py +0 -0
  16. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/depict/ChemCompDepict.py +0 -0
  17. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/depict/__init__.py +0 -0
  18. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/extract/__init__.py +0 -0
  19. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/extract/ccOps.py +0 -0
  20. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/io/ChemCompAssignDataStore.py +0 -0
  21. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/io/ChemCompDataExport.py +0 -0
  22. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/io/ChemCompDataImport.py +0 -0
  23. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/io/ChemCompEditStore.py +0 -0
  24. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/io/ChemCompIo.py +0 -0
  25. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/io/__init__.py +0 -0
  26. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/reports/ChemCompAlignImageGenerator.py +0 -0
  27. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/reports/ChemCompAlignImages.py +0 -0
  28. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/reports/ChemCompBigAlignImages.py +0 -0
  29. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/reports/ChemCompGenImage.py +0 -0
  30. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/reports/ChemCompReports.py +0 -0
  31. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/reports/InstanceDataGenerator.py +0 -0
  32. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/reports/__init__.py +0 -0
  33. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/search/ChemCompSearch.py +0 -0
  34. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/search/ChemCompSearchDb.py +0 -0
  35. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/search/ChemCompSearchDbDepict.py +0 -0
  36. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/search/ChemCompSearchDepict.py +0 -0
  37. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/search/DbSession.py +0 -0
  38. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/search/__init__.py +0 -0
  39. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/sketch/ChemCompSketch.py +0 -0
  40. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/sketch/ChemCompSketchDepict.py +0 -0
  41. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/sketch/__init__.py +0 -0
  42. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/utils/ChemCompConfig.py +0 -0
  43. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/utils/ChemCompDpUtility.py +0 -0
  44. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/utils/ChemCompWFInterface.py +0 -0
  45. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/utils/Exceptions.py +0 -0
  46. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/utils/LigandAnalysisState.py +0 -0
  47. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/utils/__init__.py +0 -0
  48. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/view/ChemCompView.py +0 -0
  49. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/view/ChemCompViewDepict.py +0 -0
  50. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/view/__init__.py +0 -0
  51. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/webapp/ChemCompWebAppLite.py +0 -0
  52. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/webapp/__init__.py +0 -0
  53. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb/apps/ccmodule/webapp/wsgi.py +0 -0
  54. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb.apps.ccmodule.egg-info/SOURCES.txt +0 -0
  55. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb.apps.ccmodule.egg-info/dependency_links.txt +0 -0
  56. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb.apps.ccmodule.egg-info/not-zip-safe +0 -0
  57. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb.apps.ccmodule.egg-info/requires.txt +0 -0
  58. {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.32}/wwpdb.apps.ccmodule.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: wwpdb.apps.ccmodule
3
- Version: 0.30
3
+ Version: 0.32
4
4
  Summary: wwPDB workflow engine utils
5
5
  Home-page: https://github.com/rcsb/py-wwpdb_apps_wf_engine_utils
6
6
  Author: Ezra Peisach
@@ -32,5 +32,14 @@ Provides-Extra: test
32
32
  Requires-Dist: coverage; extra == "test"
33
33
  Provides-Extra: server
34
34
  Requires-Dist: webob; extra == "server"
35
+ Dynamic: author
36
+ Dynamic: author-email
37
+ Dynamic: classifier
38
+ Dynamic: description
39
+ Dynamic: home-page
40
+ Dynamic: license
41
+ Dynamic: provides-extra
42
+ Dynamic: requires-dist
43
+ Dynamic: summary
35
44
 
36
45
  See: README.md
@@ -3,4 +3,4 @@ __docformat__ = "restructuredtext en"
3
3
  __author__ = "Ezra Peisach"
4
4
  __email__ = "ezra.peisach@rcsb.org"
5
5
  __license__ = "Apache 2.0"
6
- __version__ = "0.30"
6
+ __version__ = "0.32"
@@ -81,6 +81,7 @@
81
81
  # 2017-04-11 RPS Updates to accommodate identification of ligands selected by depositor as "ligands of interest"
82
82
  # 2017-05-03 RPS Updates so that LOI tracking can succeed even in cases where annotator reruns ligand search and consequently changes value for "author" assigned CCID
83
83
  # 2023-06-21 ZF Added chemical descriptions provided by refinement packages
84
+ # 2024-12-07 ZF Added extpdbid
84
85
  ##
85
86
  """
86
87
  Create HTML depiction chemical component assignment files.
@@ -186,6 +187,7 @@ class ChemCompAssignDepict(ChemCompDepict):
186
187
  classId = str(p_reqObj.getValue("classID")).lower()
187
188
  fileSource = str(p_reqObj.getValue("filesource")).lower()
188
189
  pdbId = str(p_reqObj.getValue("pdbid"))
190
+ extPdbId = str(p_reqObj.getValue("extpdbid"))
189
191
  annotator = str(p_reqObj.getValue("annotator"))
190
192
  entryTitle = str(p_reqObj.getValue("entry_title"))
191
193
  tmpltPath = p_reqObj.getValue("TemplatePath")
@@ -211,6 +213,7 @@ class ChemCompAssignDepict(ChemCompDepict):
211
213
  myD['classid'] = classId
212
214
  myD['filesource'] = fileSource
213
215
  myD['pdbid'] = pdbId
216
+ myD['extpdbid'] = extPdbId
214
217
  myD['entry_title'] = entryTitle
215
218
  myD['annotator'] = annotator
216
219
  # following params only for rcsb stand-alone version
@@ -111,6 +111,7 @@
111
111
  # 2015-03-01 ZF Re-implemented _ccAssign_generateBatchData()
112
112
  # 2019-11-12 ZF Added option for deposition id input in standalone mode
113
113
  # 2020-08-27 ZF Added blocking 'REF_ONLY' status ligands
114
+ # 2024-12-09 ZF Added extpdbid
114
115
  #
115
116
  ##
116
117
  """
@@ -757,25 +758,31 @@ class ChemCompWebAppWorker(object):
757
758
  if self.__modelFilePath and os.access(self.__modelFilePath, os.R_OK):
758
759
  cifObj = mmCIFUtil(filePath=self.__modelFilePath)
759
760
  dlist = cifObj.GetValue('database_2')
760
- for dir in dlist: # pylint: disable=redefined-builtin
761
- if ('database_id' not in dir) or ('database_code' not in dir):
761
+ for Dict in dlist: # pylint: disable=redefined-builtin
762
+ if ('database_id' not in Dict) or ('database_code' not in Dict):
762
763
  continue
763
764
  #
764
- dbname = dir['database_id'].upper()
765
- dbcode = dir['database_code'].upper()
765
+ dbname = Dict['database_id'].upper().strip()
766
+ dbcode = Dict['database_code'].upper().strip()
766
767
  if dbname == 'PDB':
767
768
  self.__reqObj.setValue("pdbid", dbcode)
769
+ extpdbid = dbcode
770
+ if ('pdbx_database_accession' in Dict) and Dict['pdbx_database_accession']:
771
+ extpdbid = Dict['pdbx_database_accession'].strip()
772
+ #
773
+ self.__reqObj.setValue("extpdbid", extpdbid)
768
774
  break
769
775
  #
770
776
  #
771
777
  slist = cifObj.GetValue('struct')
772
- for dir in slist:
773
- if 'title' not in dir:
778
+ for Dict in slist:
779
+ if 'title' not in Dict:
774
780
  continue
775
781
  #
776
- entryTitle = dir['title']
782
+ entryTitle = Dict['title']
777
783
  self.__reqObj.setValue("entry_title", entryTitle)
778
784
  break
785
+ #
779
786
  # # END
780
787
 
781
788
  ccAD = ChemCompAssignDepict(self.__verbose, self.__lfh)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: wwpdb.apps.ccmodule
3
- Version: 0.30
3
+ Version: 0.32
4
4
  Summary: wwPDB workflow engine utils
5
5
  Home-page: https://github.com/rcsb/py-wwpdb_apps_wf_engine_utils
6
6
  Author: Ezra Peisach
@@ -32,5 +32,14 @@ Provides-Extra: test
32
32
  Requires-Dist: coverage; extra == "test"
33
33
  Provides-Extra: server
34
34
  Requires-Dist: webob; extra == "server"
35
+ Dynamic: author
36
+ Dynamic: author-email
37
+ Dynamic: classifier
38
+ Dynamic: description
39
+ Dynamic: home-page
40
+ Dynamic: license
41
+ Dynamic: provides-extra
42
+ Dynamic: requires-dist
43
+ Dynamic: summary
35
44
 
36
45
  See: README.md