@datagrok/bio 2.0.20 → 2.0.21

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/detectors.js CHANGED
@@ -145,7 +145,7 @@ class BioPackageDetectors extends DG.Package {
145
145
  if (separator && BioPackageDetectors.checkForbiddenWithSeparators(stats.freq)) return null;
146
146
 
147
147
  const format = separator ? NOTATION.SEPARATOR : NOTATION.FASTA;
148
- const seqType = stats.sameLength ? 'SEQ.MSA' : 'SEQ';
148
+ const aligned = stats.sameLength ? 'SEQ.MSA' : 'SEQ';
149
149
 
150
150
  // TODO: If separator detected, then extra efforts to detect alphabet are allowed.
151
151
  const alphabet = BioPackageDetectors.detectAlphabet(stats.freq, candidateAlphabets, gapSymbol);
@@ -153,7 +153,7 @@ class BioPackageDetectors extends DG.Package {
153
153
  // const forbidden = BioPackageDetectors.checkForbiddenWoSeparator(stats.freq);
154
154
  if (separator || alphabet != 'UN') {
155
155
  col.setTag(DG.TAGS.UNITS, format);
156
- col.setTag(UnitsHandler.TAGS.aligned, seqType);
156
+ col.setTag(UnitsHandler.TAGS.aligned, aligned);
157
157
  col.setTag(UnitsHandler.TAGS.alphabet, alphabet);
158
158
  if (separator) col.setTag(UnitsHandler.TAGS.separator, separator);
159
159
  if (alphabet === ALPHABET.UN) {