icn3d 3.49.1 → 3.49.3

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
@@ -129346,15 +129346,13 @@ class Diagram2d {
129346
129346
 
129347
129347
  if(igType == 'IgV' || igType == 'IgC1' || igType == 'IgC2' || igType == 'IgI') {
129348
129348
  bFound = true;
129349
- igTypeArray.push(igType);
129350
- }
129351
- else {
129352
- igTypeArray.push('');
129353
129349
  }
129350
+
129351
+ igTypeArray.push(igType);
129354
129352
  }
129355
129353
 
129356
129354
  if(!bFound) {
129357
- var aaa = 1; //alert("The Ig type for chain " + chainid + " is " + igType + ". Currently only IgV, IgC1, IgC2 and IgI types are supported for drawing Ig diagrams.");
129355
+ var aaa = 1; //alert("The Ig type for chain " + chainid + " is " + igTypeArray + ". Currently only IgV, IgC1, IgC2 and IgI types are supported for drawing Ig diagrams.");
129358
129356
  return;
129359
129357
  }
129360
129358
 
@@ -129389,8 +129387,8 @@ class Diagram2d {
129389
129387
  for(let i = 0, il = igArray.length; i < il; ++i) {
129390
129388
  let domainid = igArray[i].domainid;
129391
129389
  let igType = igTypeArray[i];
129392
- if(!igType) {
129393
- mainWorkbook.addWorksheet(`Sheet_${i + 1}`);
129390
+ if(!(igType == 'IgV' || igType == 'IgC1' || igType == 'IgC2' || igType == 'IgI')) {
129391
+ mainWorkbook.addWorksheet((i + 1) + ". " + igType);
129394
129392
  }
129395
129393
  else {
129396
129394
  let url = "/Structure/icn3d/template/igstrand_template_" + igType + ".xlsx";
@@ -129405,7 +129403,7 @@ class Diagram2d {
129405
129403
  // Clone the model to transfer styles and data
129406
129404
  newSheet.model = {
129407
129405
  ...worksheet.model,
129408
- name: "Ig Domain " + (i + 1)
129406
+ name: (i + 1) + ". " + igType
129409
129407
  };
129410
129408
 
129411
129409
  // Iterate over all rows that have values
@@ -135701,7 +135699,7 @@ class iCn3DUI {
135701
135699
  //even when multiple iCn3D viewers are shown together.
135702
135700
  this.pre = this.cfg.divid + "_";
135703
135701
 
135704
- this.REVISION = '1';
135702
+ this.REVISION = '3.49.1';
135705
135703
 
135706
135704
  // In nodejs, iCn3D defines "window = {navigator: {}}", and added window = {navigator: {}, "__THREE__":"177"}
135707
135705
  this.bNode = (Object.keys(window).length < 3) ? true : false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icn3d",
3
- "version": "3.49.1",
3
+ "version": "3.49.3",
4
4
  "main": "./icn3d.js",
5
5
  "exports": {
6
6
  ".": {