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.js
CHANGED
|
@@ -12858,7 +12858,7 @@ class Events {
|
|
|
12858
12858
|
|
|
12859
12859
|
if(esmfold_fasta.indexOf('>') != -1) { //FASTA with header
|
|
12860
12860
|
let pos = esmfold_fasta.indexOf('\n');
|
|
12861
|
-
ic.esmTitle = esmfold_fasta.substr(1, pos - 1);
|
|
12861
|
+
ic.esmTitle = esmfold_fasta.substr(1, pos - 1).trim();
|
|
12862
12862
|
pdbid = ic.esmTitle.substr(0, ic.esmTitle.indexOf(' '));
|
|
12863
12863
|
if(pdbid.length < 6) pdbid = pdbid.padEnd(6, '-');
|
|
12864
12864
|
|
|
@@ -68246,7 +68246,7 @@ class ShareLink {
|
|
|
68246
68246
|
outputCmd = tmpUrl;
|
|
68247
68247
|
|
|
68248
68248
|
statefile = statefile.replace(/!/g, Object.keys(ic.structures)[0] + '_');
|
|
68249
|
-
if(ic.
|
|
68249
|
+
if(ic.bEsmfold || (ic.bInputfile && !ic.bInputUrlfile) || (ic.bInputUrlfile && ic.bAppend) || url.length > 4000) url = statefile;
|
|
68250
68250
|
let id;
|
|
68251
68251
|
if(ic.structures !== undefined && Object.keys(ic.structures).length == 1 && ic.inputid !== undefined) {
|
|
68252
68252
|
id = Object.keys(ic.structures)[0];
|