@datagrok/bio 2.20.5 → 2.21.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/CHANGELOG.md +11 -0
- package/detectors.js +1 -33
- package/dist/package-test.js +2 -2
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +2 -2
- package/dist/package.js.map +1 -1
- package/package.json +2 -2
- package/src/package.ts +0 -1
- package/src/utils/cell-renderer.ts +2 -1
- package/src/utils/monomer-lib/monomer-lib-base.ts +16 -2
- package/src/utils/seq-helper/seq-handler.ts +67 -1
- package/src/viewers/utils.ts +4 -0
- package/src/viewers/web-logo-viewer.ts +77 -44
- package/test-console-output-1.log +343 -342
- package/test-record-1.mp4 +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Bio changelog
|
|
2
2
|
|
|
3
|
+
## 2.21.1 (2025-04-22)
|
|
4
|
+
|
|
5
|
+
* Weblogo: Fix behavior, correct fitting, reaction to slider, property harmonization
|
|
6
|
+
* Better formatting of source monomer lib name
|
|
7
|
+
* Support of sequence space for custom notation
|
|
8
|
+
|
|
9
|
+
## 2.21.0 (2025-04-14)
|
|
10
|
+
|
|
11
|
+
* Move separator refinement to seq-handler stage
|
|
12
|
+
* Add support for custom notation macromolecule difference rendering
|
|
13
|
+
|
|
3
14
|
## 2.20.5 (2025-04-14)
|
|
4
15
|
|
|
5
16
|
* Non blocking behavior of OCL mol converter
|
package/detectors.js
CHANGED
|
@@ -308,7 +308,6 @@ class BioPackageDetectors extends DG.Package {
|
|
|
308
308
|
col.setTag(SeqHandler.TAGS.alphabetIsMultichar, alphabetIsMultichar ? 'true' : 'false');
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
refineSeqSplitter(col, stats, separator).then(() => { });
|
|
312
311
|
col.setTag(DG.TAGS.CELL_RENDERER, 'sequence');
|
|
313
312
|
return DG.SEMTYPE.MACROMOLECULE;
|
|
314
313
|
}
|
|
@@ -625,35 +624,4 @@ class BioPackageDetectors extends DG.Package {
|
|
|
625
624
|
}
|
|
626
625
|
});
|
|
627
626
|
}
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
async function refineSeqSplitter(col, stats, separator) {
|
|
631
|
-
let invalidateRequired = false;
|
|
632
|
-
|
|
633
|
-
const refinerList = [
|
|
634
|
-
{package: 'SequenceTranslator', name: 'refineNotationProviderForHarmonizedSequence'},
|
|
635
|
-
];
|
|
636
|
-
|
|
637
|
-
for (const refineFuncFind of refinerList) {
|
|
638
|
-
try {
|
|
639
|
-
const funcList = DG.Func.find(refineFuncFind);
|
|
640
|
-
if (funcList.length === 0) continue;
|
|
641
|
-
|
|
642
|
-
const funcFc = funcList[0].prepare({col: col, stats: stats, separator: separator});
|
|
643
|
-
const refineRes = (await funcFc.call()).getOutputParamValue();
|
|
644
|
-
invalidateRequired ||= refineRes;
|
|
645
|
-
} catch (err) {
|
|
646
|
-
console.error(err);
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
if (invalidateRequired) {
|
|
651
|
-
// Applying custom notation provider MUST invalidate SeqHandler
|
|
652
|
-
delete col.temp[SeqTemps.seqHandler];
|
|
653
|
-
|
|
654
|
-
for (const view of grok.shell.tableViews) {
|
|
655
|
-
if (view.dataFrame === col.dataFrame)
|
|
656
|
-
view.grid.invalidate();
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
}
|
|
627
|
+
}
|