icn3d 3.49.2 → 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.js +6 -8
- package/icn3d.min.js +1 -1
- package/icn3d.module.js +6 -8
- package/package.json +1 -1
package/icn3d.js
CHANGED
|
@@ -128445,15 +128445,13 @@ class Diagram2d {
|
|
|
128445
128445
|
|
|
128446
128446
|
if(igType == 'IgV' || igType == 'IgC1' || igType == 'IgC2' || igType == 'IgI') {
|
|
128447
128447
|
bFound = true;
|
|
128448
|
-
igTypeArray.push(igType);
|
|
128449
|
-
}
|
|
128450
|
-
else {
|
|
128451
|
-
igTypeArray.push('');
|
|
128452
128448
|
}
|
|
128449
|
+
|
|
128450
|
+
igTypeArray.push(igType);
|
|
128453
128451
|
}
|
|
128454
128452
|
|
|
128455
128453
|
if(!bFound) {
|
|
128456
|
-
var aaa = 1; //alert("The Ig type for chain " + chainid + " is " +
|
|
128454
|
+
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.");
|
|
128457
128455
|
return;
|
|
128458
128456
|
}
|
|
128459
128457
|
|
|
@@ -128488,8 +128486,8 @@ class Diagram2d {
|
|
|
128488
128486
|
for(let i = 0, il = igArray.length; i < il; ++i) {
|
|
128489
128487
|
let domainid = igArray[i].domainid;
|
|
128490
128488
|
let igType = igTypeArray[i];
|
|
128491
|
-
if(!igType) {
|
|
128492
|
-
mainWorkbook.addWorksheet(
|
|
128489
|
+
if(!(igType == 'IgV' || igType == 'IgC1' || igType == 'IgC2' || igType == 'IgI')) {
|
|
128490
|
+
mainWorkbook.addWorksheet((i + 1) + ". " + igType);
|
|
128493
128491
|
}
|
|
128494
128492
|
else {
|
|
128495
128493
|
let url = "/Structure/icn3d/template/igstrand_template_" + igType + ".xlsx";
|
|
@@ -128504,7 +128502,7 @@ class Diagram2d {
|
|
|
128504
128502
|
// Clone the model to transfer styles and data
|
|
128505
128503
|
newSheet.model = {
|
|
128506
128504
|
...worksheet.model,
|
|
128507
|
-
name:
|
|
128505
|
+
name: (i + 1) + ". " + igType
|
|
128508
128506
|
};
|
|
128509
128507
|
|
|
128510
128508
|
// Iterate over all rows that have values
|