@datagrok/bio 2.17.5 → 2.18.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,10 @@
1
1
  # Bio changelog
2
2
 
3
+ ## 2.17.6 (2024-12-11)
4
+
5
+ * Add monomer manager app view with library dashboards
6
+ * Improve detectors
7
+
3
8
  ## 2.17.5 (2024-12-09)
4
9
 
5
10
  Monomer manager: Correct loading.
package/detectors.js CHANGED
@@ -1,3 +1,5 @@
1
+ /* eslint-disable max-lines-per-function */
2
+ /* eslint-disable max-lines */
1
3
  'use strict';
2
4
  /**
3
5
  * The class contains semantic type detectors.
@@ -266,7 +268,8 @@ class BioPackageDetectors extends DG.Package {
266
268
  col.setTag(DG.TAGS.CELL_RENDERER, 'sequence');
267
269
  return DG.SEMTYPE.MACROMOLECULE;
268
270
  } else {
269
- const stats = this.getStats(categoriesSample, seqMinLength, splitter);
271
+ // for fasta, we need to include every sequence
272
+ const stats = this.getStats(categoriesSample, separator ? seqMinLength : 2, splitter);
270
273
  const alphabetIsMultichar = Object.keys(stats.freq).some((m) => m.length > 1);
271
274
  // Empty monomer alphabet is not allowed
272
275
  if (Object.keys(stats.freq).length === 0) {