@datagrok/bio 2.11.6 → 2.11.7
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 +2 -5
- package/dist/package-test.js +1 -1
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +2 -2
- package/src/tests/units-handler-splitted-tests.ts +43 -13
package/detectors.js
CHANGED
|
@@ -459,11 +459,8 @@ class BioPackageDetectors extends DG.Package {
|
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
getSplitterWithSeparator(separator, limit) {
|
|
462
|
-
return
|
|
463
|
-
|
|
464
|
-
(seq.startsWith('"') && seq.endsWith('"')) ? seq.slice(1, -1).replaceAll('""-""', '') :
|
|
465
|
-
seq;
|
|
466
|
-
return !seq1 ? [] : seq1.split(separator, limit);
|
|
462
|
+
return (seq) => {
|
|
463
|
+
return !seq ? [] : seq.replaceAll('\"-\"', '').replaceAll('\'-\'', '').split(separator, limit);
|
|
467
464
|
};
|
|
468
465
|
}
|
|
469
466
|
|