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.js CHANGED
@@ -40277,6 +40277,8 @@ class AnnoCddSite {
40277
40277
  let resiNCBI = resiNCBIArray[i] + 1; // zero-based
40278
40278
  let residNCBI = chainid + '_' + resiNCBI;
40279
40279
  let resid = ic.ncbi2resid[residNCBI];
40280
+ if(!resid) resid = residNCBI; // this happens sometimes, e.g., Q9Y4K1
40281
+
40280
40282
  let resi = resid.split('_')[2];
40281
40283
  if(i > 0) resiArrayStr += ',';
40282
40284
  resiArrayStr += resi;