icn3d 3.28.8 → 3.28.9
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 +7 -12
- package/icn3d.min.js +1 -1
- package/icn3d.module.js +7 -12
- package/package.json +1 -1
package/icn3d.js
CHANGED
|
@@ -15622,7 +15622,7 @@ class SetHtml {
|
|
|
15622
15622
|
if(postfix == 'style') {
|
|
15623
15623
|
if(bReset) {
|
|
15624
15624
|
$("#" + me.pre + "shininess").val('40');
|
|
15625
|
-
$("#" + me.pre + "light1").val('0.
|
|
15625
|
+
$("#" + me.pre + "light1").val('0.8');
|
|
15626
15626
|
$("#" + me.pre + "light2").val('0.4');
|
|
15627
15627
|
$("#" + me.pre + "light3").val('0.2');
|
|
15628
15628
|
$("#" + me.pre + "glycan").val('0');
|
|
@@ -54242,13 +54242,10 @@ class ParserUtils {
|
|
|
54242
54242
|
|
|
54243
54243
|
getMissingResidues(seqArray, type, chainid) { let ic = this.icn3d, me = ic.icn3dui;
|
|
54244
54244
|
ic.chainsSeq[chainid] = [];
|
|
54245
|
-
|
|
54246
|
-
// find the offset of MMDB sequence
|
|
54247
|
-
let offset = 0;
|
|
54248
54245
|
if(type === 'mmdbid' || type === 'align') {
|
|
54249
54246
|
for(let i = 0, il = seqArray.length; i < il; ++i) {
|
|
54250
54247
|
if(seqArray[i][0] != 0) {
|
|
54251
|
-
|
|
54248
|
+
seqArray[i][0] - (i + 1);
|
|
54252
54249
|
break;
|
|
54253
54250
|
}
|
|
54254
54251
|
}
|
|
@@ -54283,14 +54280,12 @@ class ParserUtils {
|
|
|
54283
54280
|
resObject.resi = i + 1;
|
|
54284
54281
|
}
|
|
54285
54282
|
else {
|
|
54286
|
-
//
|
|
54287
|
-
|
|
54288
|
-
|
|
54289
|
-
|
|
54290
|
-
}
|
|
54291
|
-
else {
|
|
54283
|
+
//if(type === 'mmdbid' || type === 'align') {
|
|
54284
|
+
// resObject.resi =(seqArray[i][resiPos] == '0') ? i + 1 + offset : seqArray[i][resiPos];
|
|
54285
|
+
//}
|
|
54286
|
+
//else {
|
|
54292
54287
|
resObject.resi =(seqArray[i][resiPos] == '0') ? parseInt(prevResi) + 1 : seqArray[i][resiPos];
|
|
54293
|
-
}
|
|
54288
|
+
//}
|
|
54294
54289
|
}
|
|
54295
54290
|
|
|
54296
54291
|
//resObject.resi =(seqArray[i][resiPos] == '0') ? i + 1 + offset : seqArray[i][resiPos];
|