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 +5 -2
- package/icn3d.min.js +1 -1
- package/icn3d.module.js +5 -2
- package/package.json +1 -1
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
|
-
|
|
108783
|
-
|
|
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
|
|