@datagrok/bio 2.10.0 → 2.10.2

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,15 @@
1
1
  # Bio changelog
2
2
 
3
+ ## 2.11.0 (WIP)
4
+
5
+ ### Bug fixes
6
+
7
+ * Fix GetRegion to detect semantic type and renderer for created column.
8
+ * Fix GetRegion dialog column name field for default value.
9
+ * Fix WebLogo viewer for gaps with Helm.
10
+ * Fix cell renderer for empty values MSA.
11
+ * Fix detectMacromolecule to ignore empty seqs.
12
+
3
13
  ## 2.10.0 (2023-09-06)
4
14
 
5
15
  ### Features
package/detectors.js CHANGED
@@ -98,9 +98,11 @@ class BioPackageDetectors extends DG.Package {
98
98
  if (col.type !== DG.TYPE.STRING) return null;
99
99
 
100
100
  const categoriesSample = [...new Set((col.length < SEQ_SAMPLE_LIMIT ?
101
- wu.count(0).take(Math.min(SEQ_SAMPLE_LIMIT, col.length)).map((rowI) => col.get(rowI)) :
102
- this.sample(col, SEQ_SAMPLE_LIMIT)
103
- ).map((seq) => !!seq ? seq.substring(0, SEQ_SAMPLE_LENGTH_LIMIT * 5) : ''))];
101
+ wu.count(0).take(Math.min(SEQ_SAMPLE_LIMIT, col.length)).map((rowI) => col.get(rowI)) :
102
+ this.sample(col, SEQ_SAMPLE_LIMIT))
103
+ .map((seq) => !!seq ? seq.substring(0, SEQ_SAMPLE_LENGTH_LIMIT * 5) : '')
104
+ .filter((seq) => seq.length !== 0/* skip empty values for detector */),
105
+ )];
104
106
 
105
107
  // To collect alphabet freq three strategies can be used:
106
108
  // as chars, as fasta (single or within square brackets), as with the separator.