icn3d 3.24.5 → 3.24.6
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.
- package/icn3d.js +14 -12
- package/icn3d.min.js +2 -2
- package/icn3d.module.js +14 -12
- package/package.json +1 -1
package/icn3d.js
CHANGED
|
@@ -35390,7 +35390,6 @@ class SetOption {
|
|
|
35390
35390
|
}
|
|
35391
35391
|
|
|
35392
35392
|
showColorLegend(colorType) { let ic = this.icn3d, me = ic.icn3dui;
|
|
35393
|
-
let bClose = false;
|
|
35394
35393
|
|
|
35395
35394
|
let colorLabel = colorType.substr(0, 1).toUpperCase() + colorType.substr(1);
|
|
35396
35395
|
if(colorType == 'confidence') {
|
|
@@ -35502,7 +35501,6 @@ class SetOption {
|
|
|
35502
35501
|
}
|
|
35503
35502
|
else {
|
|
35504
35503
|
html = '';
|
|
35505
|
-
bClose = true;
|
|
35506
35504
|
}
|
|
35507
35505
|
|
|
35508
35506
|
if(html) {
|
|
@@ -35510,9 +35508,9 @@ class SetOption {
|
|
|
35510
35508
|
me.htmlCls.dialogCls.openDlg('dl_legend', 'Color Legend');
|
|
35511
35509
|
}
|
|
35512
35510
|
|
|
35513
|
-
if(bClose) {
|
|
35514
|
-
|
|
35515
|
-
}
|
|
35511
|
+
// if(bClose) {
|
|
35512
|
+
// if(window.dialog && window.dialog.hasClass('ui-dialog-content')) window.dialog.dialog( "close" );
|
|
35513
|
+
// }
|
|
35516
35514
|
}
|
|
35517
35515
|
|
|
35518
35516
|
getColorLegendForElem(category, atomHash) { let ic = this.icn3d, me = ic.icn3dui;
|
|
@@ -57098,7 +57096,9 @@ class ApplyCommand {
|
|
|
57098
57096
|
let msa;
|
|
57099
57097
|
if(paraArray.length >= 7) msa = paraArray[6].substr(4);
|
|
57100
57098
|
|
|
57101
|
-
$("#" + ic.pre + "anno_custom")[0]
|
|
57099
|
+
if($("#" + ic.pre + "anno_custom")[0]) {
|
|
57100
|
+
$("#" + ic.pre + "anno_custom")[0].checked = true;
|
|
57101
|
+
}
|
|
57102
57102
|
$("[id^=" + ic.pre + "custom]").show();
|
|
57103
57103
|
|
|
57104
57104
|
if(color == '0') color = undefined;
|
|
@@ -60409,16 +60409,18 @@ class Selection {
|
|
|
60409
60409
|
if(me.cfg.bSidebyside && structureArray.length == 2) {
|
|
60410
60410
|
let dividArray = Object.keys(window.icn3duiHash);
|
|
60411
60411
|
let pos = dividArray.indexOf(ic.divid);
|
|
60412
|
-
|
|
60413
60412
|
let structure = structureArray[pos];
|
|
60414
60413
|
let chainArray = ic.structures[structure];
|
|
60414
|
+
|
|
60415
60415
|
let structAtoms = {};
|
|
60416
|
-
|
|
60417
|
-
|
|
60418
|
-
|
|
60416
|
+
if(chainArray) {
|
|
60417
|
+
for(let i = 0, il = chainArray.length; i < il; ++i) {
|
|
60418
|
+
structAtoms = me.hashUtilsCls.unionHash(structAtoms, ic.chains[chainArray[i]]);
|
|
60419
|
+
}
|
|
60419
60420
|
|
|
60420
|
-
|
|
60421
|
-
|
|
60421
|
+
ic.dAtoms = me.hashUtilsCls.intHash(structAtoms, ic.dAtoms);
|
|
60422
|
+
ic.hAtoms = me.hashUtilsCls.cloneHash(ic.dAtoms);
|
|
60423
|
+
}
|
|
60422
60424
|
}
|
|
60423
60425
|
}
|
|
60424
60426
|
|