wwpdb.apps.ccmodule 0.30__tar.gz → 0.31__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.
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/PKG-INFO +1 -1
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/__init__.py +1 -1
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/chem/ChemCompAssignDepict.py +3 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/webapp/ChemCompWebApp.py +14 -7
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb.apps.ccmodule.egg-info/PKG-INFO +1 -1
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/README.md +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/setup.cfg +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/setup.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/chem/ChemCompAnnotate.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/chem/ChemCompAssign.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/chem/ChemCompAssignDepictLite.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/chem/PdbxChemCompAssign.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/chem/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/depict/ChemCompDepict.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/depict/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/extract/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/extract/ccOps.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/io/ChemCompAssignDataStore.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/io/ChemCompDataExport.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/io/ChemCompDataImport.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/io/ChemCompEditStore.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/io/ChemCompIo.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/io/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/reports/ChemCompAlignImageGenerator.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/reports/ChemCompAlignImages.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/reports/ChemCompBigAlignImages.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/reports/ChemCompGenImage.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/reports/ChemCompReports.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/reports/InstanceDataGenerator.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/reports/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/search/ChemCompSearch.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/search/ChemCompSearchDb.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/search/ChemCompSearchDbDepict.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/search/ChemCompSearchDepict.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/search/DbSession.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/search/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/sketch/ChemCompSketch.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/sketch/ChemCompSketchDepict.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/sketch/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/utils/ChemCompConfig.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/utils/ChemCompDpUtility.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/utils/ChemCompWFInterface.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/utils/Exceptions.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/utils/LigandAnalysisState.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/utils/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/view/ChemCompView.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/view/ChemCompViewDepict.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/view/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/webapp/ChemCompWebAppLite.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/webapp/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/webapp/wsgi.py +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb.apps.ccmodule.egg-info/SOURCES.txt +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb.apps.ccmodule.egg-info/dependency_links.txt +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb.apps.ccmodule.egg-info/not-zip-safe +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb.apps.ccmodule.egg-info/requires.txt +0 -0
- {wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb.apps.ccmodule.egg-info/top_level.txt +0 -0
|
@@ -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
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/webapp/ChemCompWebApp.py
RENAMED
|
@@ -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
|
|
761
|
-
if ('database_id' not in
|
|
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 =
|
|
765
|
-
dbcode =
|
|
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
|
|
773
|
-
if 'title' not in
|
|
778
|
+
for Dict in slist:
|
|
779
|
+
if 'title' not in Dict:
|
|
774
780
|
continue
|
|
775
781
|
#
|
|
776
|
-
entryTitle =
|
|
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)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/chem/ChemCompAnnotate.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/chem/ChemCompAssign.py
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/chem/PdbxChemCompAssign.py
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/depict/ChemCompDepict.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/depict/__init__.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/extract/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/io/ChemCompDataExport.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/io/ChemCompDataImport.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/io/ChemCompEditStore.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/reports/ChemCompReports.py
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/reports/__init__.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/search/ChemCompSearch.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/search/ChemCompSearchDb.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/search/DbSession.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/search/__init__.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/sketch/ChemCompSketch.py
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/sketch/__init__.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/utils/ChemCompConfig.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/utils/ChemCompDpUtility.py
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/utils/Exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/view/ChemCompView.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/view/ChemCompViewDepict.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb/apps/ccmodule/webapp/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb.apps.ccmodule.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb.apps.ccmodule.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb.apps.ccmodule.egg-info/requires.txt
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.30 → wwpdb_apps_ccmodule-0.31}/wwpdb.apps.ccmodule.egg-info/top_level.txt
RENAMED
|
File without changes
|