wwpdb.apps.ccmodule 0.29.3__tar.gz → 0.30__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.29.3 → wwpdb_apps_ccmodule-0.30}/PKG-INFO +1 -1
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/__init__.py +1 -1
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/chem/ChemCompAssignDepictLite.py +1 -1
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/webapp/ChemCompWebApp.py +25 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb.apps.ccmodule.egg-info/PKG-INFO +1 -1
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/README.md +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/setup.cfg +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/setup.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/chem/ChemCompAnnotate.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/chem/ChemCompAssign.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/chem/ChemCompAssignDepict.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/chem/PdbxChemCompAssign.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/chem/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/depict/ChemCompDepict.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/depict/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/extract/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/extract/ccOps.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/io/ChemCompAssignDataStore.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/io/ChemCompDataExport.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/io/ChemCompDataImport.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/io/ChemCompEditStore.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/io/ChemCompIo.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/io/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/reports/ChemCompAlignImageGenerator.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/reports/ChemCompAlignImages.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/reports/ChemCompBigAlignImages.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/reports/ChemCompGenImage.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/reports/ChemCompReports.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/reports/InstanceDataGenerator.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/reports/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/search/ChemCompSearch.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/search/ChemCompSearchDb.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/search/ChemCompSearchDbDepict.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/search/ChemCompSearchDepict.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/search/DbSession.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/search/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/sketch/ChemCompSketch.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/sketch/ChemCompSketchDepict.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/sketch/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/utils/ChemCompConfig.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/utils/ChemCompDpUtility.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/utils/ChemCompWFInterface.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/utils/Exceptions.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/utils/LigandAnalysisState.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/utils/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/view/ChemCompView.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/view/ChemCompViewDepict.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/view/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/webapp/ChemCompWebAppLite.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/webapp/__init__.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/webapp/wsgi.py +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb.apps.ccmodule.egg-info/SOURCES.txt +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb.apps.ccmodule.egg-info/dependency_links.txt +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb.apps.ccmodule.egg-info/not-zip-safe +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb.apps.ccmodule.egg-info/requires.txt +0 -0
- {wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb.apps.ccmodule.egg-info/top_level.txt +0 -0
|
@@ -122,7 +122,7 @@ class ChemCompAssignDepictLite(ChemCompDepict):
|
|
|
122
122
|
self.__siteSrvcUrlPathPrefix = self.__cI.get('SITE_SERVICE_URL_PATH_PREFIX', '')
|
|
123
123
|
self.__workingRltvAssgnSessionPath = ''
|
|
124
124
|
|
|
125
|
-
self.__alternateTopHitMarkup = '''<input id="use_exact_mtch_id_%(auth_assgnd_grp)s_%(tophit_id)s" class="c_%(auth_assgnd_grp)s addrss_msmtch use_exact_mtch_id" type="radio" name="addrss_msmtch_chc" value="use_exact_mtch_id" %(use_exact_mtch_id_checked)s %(disabled)s /><label for="use_exact_mtch_id_%(auth_assgnd_grp)s_%(tophit_id)s">Use
|
|
125
|
+
self.__alternateTopHitMarkup = '''<input id="use_exact_mtch_id_%(auth_assgnd_grp)s_%(tophit_id)s" class="c_%(auth_assgnd_grp)s addrss_msmtch use_exact_mtch_id" type="radio" name="addrss_msmtch_chc" value="use_exact_mtch_id" %(use_exact_mtch_id_checked)s %(disabled)s /><label for="use_exact_mtch_id_%(auth_assgnd_grp)s_%(tophit_id)s">Use match ID of <span name="%(tophit_id)s" style="color: #F00;" class="strong tophit">%(tophit_id)s</span> (<a href="http://ligand-expo.rcsb.org/pyapps/ldHandler.py?formid=cc-index-search&target=%(tophit_id)s&operation=ccid" target="_blank">See Definition</a>) instead of originally proposed ID</label><br />''' # noqa: E501
|
|
126
126
|
|
|
127
127
|
depositPath = Path(PathInfo().getDepositPath(self.__depId))
|
|
128
128
|
self.__ccReportPath = os.path.join(depositPath, self._CC_REPORT_DIR)
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/webapp/ChemCompWebApp.py
RENAMED
|
@@ -1440,6 +1440,7 @@ class ChemCompWebAppWorker(object):
|
|
|
1440
1440
|
#
|
|
1441
1441
|
# zk: Add checking if assgnCcId is in HitList
|
|
1442
1442
|
#
|
|
1443
|
+
warnMsg = ""
|
|
1443
1444
|
if (assgnCcId != "Not Assigned"):
|
|
1444
1445
|
errorMessage = ''
|
|
1445
1446
|
for instId in instIdL:
|
|
@@ -1449,18 +1450,36 @@ class ChemCompWebAppWorker(object):
|
|
|
1449
1450
|
for tup in hitList:
|
|
1450
1451
|
if tup[0] == assgnCcId:
|
|
1451
1452
|
ok = True
|
|
1453
|
+
if tup[2] != "n.a.":
|
|
1454
|
+
first = True
|
|
1455
|
+
msgList = tup[2].split("<br />")
|
|
1456
|
+
for msg in msgList:
|
|
1457
|
+
if msg.startswith("Mismatch chiral center between instance atom"):
|
|
1458
|
+
if warnMsg:
|
|
1459
|
+
warnMsg += "\n"
|
|
1460
|
+
#
|
|
1461
|
+
if first:
|
|
1462
|
+
warnMsg += "\n" + instId + ":\n"
|
|
1463
|
+
first = False
|
|
1464
|
+
#
|
|
1465
|
+
warnMsg += msg
|
|
1466
|
+
#
|
|
1467
|
+
#
|
|
1468
|
+
#
|
|
1452
1469
|
break
|
|
1453
1470
|
#
|
|
1454
1471
|
#
|
|
1455
1472
|
#
|
|
1456
1473
|
if not ok:
|
|
1457
1474
|
errorMessage += assgnCcId + ' is not in hit list for ' + instId + '\n'
|
|
1475
|
+
#
|
|
1458
1476
|
#
|
|
1459
1477
|
if errorMessage:
|
|
1460
1478
|
if (self.__verbose):
|
|
1461
1479
|
self.__lfh.write("+ChemCompWebAppWorker._ccAssign_assignInstnc() ----- Error: %s\n" % errorMessage)
|
|
1462
1480
|
rC.setError(errMsg=errorMessage)
|
|
1463
1481
|
return rC
|
|
1482
|
+
#
|
|
1464
1483
|
#
|
|
1465
1484
|
for instId in instIdL:
|
|
1466
1485
|
self.__lfh.write("+ChemCompWebAppWorker._ccAssign_assignInstnc() ----- instId %s\n" % instId)
|
|
@@ -1469,14 +1488,20 @@ class ChemCompWebAppWorker(object):
|
|
|
1469
1488
|
self.__lfh.write("+ChemCompWebAppWorker._ccAssign_assignInstnc() ----- tuple %s for %s\n" % (hlist, instId))
|
|
1470
1489
|
else:
|
|
1471
1490
|
self.__lfh.write("+ChemCompWebAppWorker._ccAssign_assignInstnc() ----- no tuple for %s\n" % instId)
|
|
1491
|
+
#
|
|
1472
1492
|
ccADS.setAnnotAssignment(instId, assgnCcId)
|
|
1473
1493
|
if assgnMode == 'glbl' and assgnCcId != "Not Assigned":
|
|
1474
1494
|
ccADS.addGrpToGlbllyAssgndLst(authAssgnGrp, assgnCcId)
|
|
1475
1495
|
elif assgnMode == 'glbl' and assgnCcId == "Not Assigned":
|
|
1476
1496
|
ccADS.removeGrpFrmGlbllyAssgndLst(authAssgnGrp)
|
|
1497
|
+
#
|
|
1477
1498
|
ccADS.serialize()
|
|
1499
|
+
#
|
|
1478
1500
|
ccADS.dumpData(self.__lfh)
|
|
1479
1501
|
|
|
1502
|
+
if warnMsg:
|
|
1503
|
+
rC.set("warnMsg", "Assigning (" + assgnCcId + ") will result in chirality error(s) for the following instance(s):\n" + warnMsg)
|
|
1504
|
+
#
|
|
1480
1505
|
return rC
|
|
1481
1506
|
|
|
1482
1507
|
def _ccAssign_setNewCcDefinedForInstnc(self):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/chem/ChemCompAnnotate.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/chem/ChemCompAssign.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/chem/__init__.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/depict/ChemCompDepict.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/depict/__init__.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/extract/__init__.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/extract/ccOps.py
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/io/ChemCompDataExport.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/io/ChemCompDataImport.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/io/ChemCompEditStore.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/io/ChemCompIo.py
RENAMED
|
File without changes
|
|
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.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/reports/__init__.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/search/ChemCompSearch.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/search/DbSession.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/search/__init__.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/sketch/ChemCompSketch.py
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/sketch/__init__.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/utils/ChemCompConfig.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/utils/Exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/utils/__init__.py
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/view/ChemCompView.py
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/view/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb/apps/ccmodule/webapp/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb.apps.ccmodule.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb.apps.ccmodule.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb.apps.ccmodule.egg-info/requires.txt
RENAMED
|
File without changes
|
{wwpdb_apps_ccmodule-0.29.3 → wwpdb_apps_ccmodule-0.30}/wwpdb.apps.ccmodule.egg-info/top_level.txt
RENAMED
|
File without changes
|