icn3d 3.47.0 → 3.47.1

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
@@ -108779,8 +108779,11 @@ class DcdParser {
108779
108779
  let chainid = chainArray[j];
108780
108780
  for(let k in ic.chains[chainid]) {
108781
108781
  let atom = ic.atoms[k];
108782
- coord.push(atom.coord);
108783
- ++nAtoms;
108782
+ // only align proteins
108783
+ if(ic.proteins.hasOwnProperty(atom.serial)) {
108784
+ coord.push(atom.coord);
108785
+ ++nAtoms;
108786
+ }
108784
108787
  }
108785
108788
  }
108786
108789