icn3d 3.26.6 → 3.26.7

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
@@ -44487,7 +44487,7 @@ class LineGraph {
44487
44487
  pdb_query = header + pdb_query;
44488
44488
 
44489
44489
  let dataObj = {'pdb_query': pdb_query, 'pdb_target': pdb_target, "queryid": ic.refpdbArray[index]};
44490
- let alignAjax = me.getAjaxPostPromise(urltmalign, dataObj, undefined, undefined, undefined, undefined, undefined, true) ;
44490
+ let alignAjax = me.getAjaxPostPromise(urltmalign, dataObj);
44491
44491
  ajaxArray.push(alignAjax);
44492
44492
 
44493
44493
  domainidpairArray.push(domainid + "|" + ic.refpdbArray[index]);
@@ -44504,7 +44504,8 @@ class LineGraph {
44504
44504
 
44505
44505
  //split arrays into chunks of 100 jobs
44506
44506
  let n = (me.bNode) ? 16 : 96;
44507
- for(let i = 0, il = (ajaxArray.length - 1) / n + 1; i < il; ++i) {
44507
+
44508
+ for(let i = 0, il = parseInt((ajaxArray.length - 1) / n + 1); i < il; ++i) {
44508
44509
  let currAjaxArray = [];
44509
44510
  if(i == il - 1) { // last one
44510
44511
  currAjaxArray = ajaxArray.slice(i * n, ajaxArray.length);
@@ -44518,7 +44519,6 @@ class LineGraph {
44518
44519
 
44519
44520
  dataArray2 = dataArray2.concat(currDataArray);
44520
44521
  }
44521
-
44522
44522
 
44523
44523
  let bRound1 = true;
44524
44524
  await thisClass.parseAlignData(dataArray2, domainidpairArray, bRound1);
@@ -44628,7 +44628,7 @@ class LineGraph {
44628
44628
 
44629
44629
  //if(!(bBstrand && bCstrand && bEstrand && bFstrand && bGstrand)) continue;
44630
44630
  if(!(bBstrand && bCstrand && bEstrand && bFstrand)) {
44631
- if(!me.bNode) console.log("some of the Ig strands B, C, E, F are missing...");
44631
+ if(!me.bNode) console.log("Some of the Ig strands B, C, E, F are missing in the domain " + domainid + "...");
44632
44632
  continue;
44633
44633
  }
44634
44634