icn3d 3.30.2 → 3.30.3

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.module.js CHANGED
@@ -67153,7 +67153,7 @@ class Dssp {
67153
67153
  let endResi = parseInt(segArray[m+1]);
67154
67154
 
67155
67155
  for(let n = startResi; n <= endResi; ++n) {
67156
- let resid = chainid + '_' + pos2resi[n];
67156
+ let resid = chainid + '_' + pos2resi[n - 1];
67157
67157
  ++resCnt;
67158
67158
  domainAtoms = me.hashUtilsCls.unionHash(domainAtoms, ic.residues[resid]);
67159
67159
 
@@ -67175,7 +67175,7 @@ class Dssp {
67175
67175
  let startResi = segArray[m];
67176
67176
  let endResi = segArray[m+1];
67177
67177
  for(let n = parseInt(startResi); n <= parseInt(endResi); ++n) {
67178
- let resid = chainid + '_' + pos2resi[n];
67178
+ let resid = chainid + '_' + pos2resi[n - 1];
67179
67179
  //domainAtoms = me.hashUtilsCls.unionHash(domainAtoms, ic.residues[resid]);
67180
67180
  ic.resid2domainid[resid] = chainid + ',' + k + '_' + resiSum;
67181
67181
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icn3d",
3
- "version": "3.30.2",
3
+ "version": "3.30.3",
4
4
  "main": "./icn3d.js",
5
5
  "exports": {
6
6
  ".": {