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.js CHANGED
@@ -66252,7 +66252,7 @@ class Dssp {
66252
66252
  let endResi = parseInt(segArray[m+1]);
66253
66253
 
66254
66254
  for(let n = startResi; n <= endResi; ++n) {
66255
- let resid = chainid + '_' + pos2resi[n];
66255
+ let resid = chainid + '_' + pos2resi[n - 1];
66256
66256
  ++resCnt;
66257
66257
  domainAtoms = me.hashUtilsCls.unionHash(domainAtoms, ic.residues[resid]);
66258
66258
 
@@ -66274,7 +66274,7 @@ class Dssp {
66274
66274
  let startResi = segArray[m];
66275
66275
  let endResi = segArray[m+1];
66276
66276
  for(let n = parseInt(startResi); n <= parseInt(endResi); ++n) {
66277
- let resid = chainid + '_' + pos2resi[n];
66277
+ let resid = chainid + '_' + pos2resi[n - 1];
66278
66278
  //domainAtoms = me.hashUtilsCls.unionHash(domainAtoms, ic.residues[resid]);
66279
66279
  ic.resid2domainid[resid] = chainid + ',' + k + '_' + resiSum;
66280
66280
  }