@datagrok/bio 1.7.3 → 1.7.6

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
@@ -113,7 +113,7 @@ class BioPackageDetectors extends DG.Package {
113
113
  const noSeparatorAlphaDigitRe = /[\dA-Z]/i;
114
114
  const noSeparatorBracketsRe = /[\[\]()<>{}]/i;
115
115
  const cleanFreq = Object.assign({}, ...Object.entries(freq)
116
- .filter(([m, f]) => m != ' ' &&
116
+ .filter(([m, f]) => m != ' ' && m != '_' &&
117
117
  !noSeparatorChemRe.test(m) && !noSeparatorAlphaDigitRe.test(m) && !noSeparatorBracketsRe.test(m) &&
118
118
  !BioPackageDetectors.PeptideFastaAlphabet.has(m) &&
119
119
  !BioPackageDetectors.DnaFastaAlphabet.has(m))