icn3d 3.34.5 → 3.34.6

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
@@ -41178,6 +41178,8 @@ class AnnoCddSite {
41178
41178
  let resiNCBI = resiNCBIArray[i] + 1; // zero-based
41179
41179
  let residNCBI = chainid + '_' + resiNCBI;
41180
41180
  let resid = ic.ncbi2resid[residNCBI];
41181
+ if(!resid) resid = residNCBI; // this happens sometimes, e.g., Q9Y4K1
41182
+
41181
41183
  let resi = resid.split('_')[2];
41182
41184
  if(i > 0) resiArrayStr += ',';
41183
41185
  resiArrayStr += resi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icn3d",
3
- "version": "3.34.5",
3
+ "version": "3.34.6",
4
4
  "main": "./icn3d.js",
5
5
  "exports": {
6
6
  ".": {