@datagrok/bio 2.1.7 → 2.1.9
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 +1 -1
- package/dist/package-test.js +5 -3
- package/dist/package.js +1 -3
- package/files/tests/SPGI-derived.csv +320 -0
- package/package.json +1 -1
- package/src/package.ts +0 -3
- package/src/tests/detectors-tests.ts +19 -1
- package/{test-Bio-62cc009524f3-6c978eb5.html → test-Bio-62cc009524f3-820f73b0.html} +107 -106
package/detectors.js
CHANGED
|
@@ -207,7 +207,7 @@ class BioPackageDetectors extends DG.Package {
|
|
|
207
207
|
// !!! What is the difference between the gap symbol and separator symbol in stats terms?
|
|
208
208
|
// const noSeparatorRe = /[a-z\d]+$/i;
|
|
209
209
|
const noSeparatorChemRe = /[HBCNOFPSKVYI]/i; // Mendeleev's periodic table single char elements
|
|
210
|
-
const noSeparatorAlphaDigitRe = /[\dA-Z,& _]/i; // ..., comma, ampersand, space, underscore
|
|
210
|
+
const noSeparatorAlphaDigitRe = /[\dA-Z,& _\r\n]/i; // ..., comma, ampersand, space, underscore, CR, LF
|
|
211
211
|
const noSeparatorBracketsRe = /[\[\]()<>{}]/i;
|
|
212
212
|
const cleanFreq = Object.assign({}, ...Object.entries(freq)
|
|
213
213
|
.filter(([m, f]) =>
|