@datagrok/bio 2.20.4 → 2.21.0

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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # Bio changelog
2
2
 
3
+ ## 2.21.0 (2025-04-14)
4
+
5
+ * Move separator refinement to seq-handler stage
6
+ * Add support for custom notation macromolecule difference rendering
7
+
8
+ ## 2.20.5 (2025-04-14)
9
+
10
+ * Non blocking behavior of OCL mol converter
11
+
3
12
  ## 2.20.4 (2025-04-08)
4
13
 
5
14
  * Fix linearization, wrong rgroups and notation problems for toAtomicLevel
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
+ }