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.module.js
CHANGED
|
@@ -16523,7 +16523,7 @@ class SetHtml {
|
|
|
16523
16523
|
if(postfix == 'style') {
|
|
16524
16524
|
if(bReset) {
|
|
16525
16525
|
$("#" + me.pre + "shininess").val('40');
|
|
16526
|
-
$("#" + me.pre + "light1").val('0.
|
|
16526
|
+
$("#" + me.pre + "light1").val('0.8');
|
|
16527
16527
|
$("#" + me.pre + "light2").val('0.4');
|
|
16528
16528
|
$("#" + me.pre + "light3").val('0.2');
|
|
16529
16529
|
$("#" + me.pre + "glycan").val('0');
|
|
@@ -55143,13 +55143,10 @@ class ParserUtils {
|
|
|
55143
55143
|
|
|
55144
55144
|
getMissingResidues(seqArray, type, chainid) { let ic = this.icn3d, me = ic.icn3dui;
|
|
55145
55145
|
ic.chainsSeq[chainid] = [];
|
|
55146
|
-
|
|
55147
|
-
// find the offset of MMDB sequence
|
|
55148
|
-
let offset = 0;
|
|
55149
55146
|
if(type === 'mmdbid' || type === 'align') {
|
|
55150
55147
|
for(let i = 0, il = seqArray.length; i < il; ++i) {
|
|
55151
55148
|
if(seqArray[i][0] != 0) {
|
|
55152
|
-
|
|
55149
|
+
seqArray[i][0] - (i + 1);
|
|
55153
55150
|
break;
|
|
55154
55151
|
}
|
|
55155
55152
|
}
|
|
@@ -55184,14 +55181,12 @@ class ParserUtils {
|
|
|
55184
55181
|
resObject.resi = i + 1;
|
|
55185
55182
|
}
|
|
55186
55183
|
else {
|
|
55187
|
-
//
|
|
55188
|
-
|
|
55189
|
-
|
|
55190
|
-
|
|
55191
|
-
}
|
|
55192
|
-
else {
|
|
55184
|
+
//if(type === 'mmdbid' || type === 'align') {
|
|
55185
|
+
// resObject.resi =(seqArray[i][resiPos] == '0') ? i + 1 + offset : seqArray[i][resiPos];
|
|
55186
|
+
//}
|
|
55187
|
+
//else {
|
|
55193
55188
|
resObject.resi =(seqArray[i][resiPos] == '0') ? parseInt(prevResi) + 1 : seqArray[i][resiPos];
|
|
55194
|
-
}
|
|
55189
|
+
//}
|
|
55195
55190
|
}
|
|
55196
55191
|
|
|
55197
55192
|
//resObject.resi =(seqArray[i][resiPos] == '0') ? i + 1 + offset : seqArray[i][resiPos];
|