icn3d 3.26.0 → 3.26.1
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 +2 -2
- package/icn3d.min.js +2 -2
- package/icn3d.module.js +2 -2
- package/package.json +1 -1
package/icn3d.module.js
CHANGED
|
@@ -13759,7 +13759,7 @@ class Events {
|
|
|
13759
13759
|
|
|
13760
13760
|
if(esmfold_fasta.indexOf('>') != -1) { //FASTA with header
|
|
13761
13761
|
let pos = esmfold_fasta.indexOf('\n');
|
|
13762
|
-
ic.esmTitle = esmfold_fasta.substr(1, pos - 1);
|
|
13762
|
+
ic.esmTitle = esmfold_fasta.substr(1, pos - 1).trim();
|
|
13763
13763
|
pdbid = ic.esmTitle.substr(0, ic.esmTitle.indexOf(' '));
|
|
13764
13764
|
if(pdbid.length < 6) pdbid = pdbid.padEnd(6, '-');
|
|
13765
13765
|
|
|
@@ -69147,7 +69147,7 @@ class ShareLink {
|
|
|
69147
69147
|
outputCmd = tmpUrl;
|
|
69148
69148
|
|
|
69149
69149
|
statefile = statefile.replace(/!/g, Object.keys(ic.structures)[0] + '_');
|
|
69150
|
-
if(ic.
|
|
69150
|
+
if(ic.bEsmfold || (ic.bInputfile && !ic.bInputUrlfile) || (ic.bInputUrlfile && ic.bAppend) || url.length > 4000) url = statefile;
|
|
69151
69151
|
let id;
|
|
69152
69152
|
if(ic.structures !== undefined && Object.keys(ic.structures).length == 1 && ic.inputid !== undefined) {
|
|
69153
69153
|
id = Object.keys(ic.structures)[0];
|