nucleotide
Advanced tools
Comparing version 3.1.7 to 3.2.0
@@ -5,3 +5,3 @@ "use strict"; | ||
const chemical_groups_1 = require("chemical-groups"); | ||
const ensureUppercaseSequence_1 = require("./ensureUppercaseSequence"); | ||
const mf_utilities_1 = require("mf-utilities"); | ||
/** | ||
@@ -23,3 +23,3 @@ * Convert a nucleic sequence to a MF | ||
return ''; | ||
sequence = (0, ensureUppercaseSequence_1.ensureUppercaseSequence)(sequence); | ||
sequence = (0, mf_utilities_1.ensureUppercaseSequence)(sequence); | ||
// if the sequence is in lowercase but the parenthesis we should convert it to uppercase | ||
@@ -26,0 +26,0 @@ if (sequence.match(/^[a-z]+$/)) { |
@@ -24,3 +24,3 @@ { | ||
}, | ||
"version": "3.1.7", | ||
"version": "3.2.0", | ||
"devDependencies": { | ||
@@ -31,5 +31,5 @@ "mf-parser": "^3.2.5" | ||
"chemical-groups": "^2.2.1", | ||
"mf-utilities": "^3.2.6" | ||
"mf-utilities": "^3.3.0" | ||
}, | ||
"gitHead": "ead08ac8b436c6d4eb0016e938cb17a0dc5e2b06" | ||
"gitHead": "78eda3ed5d6830f7570d3867af21af2d5345a39e" | ||
} |
import { groups } from 'chemical-groups'; | ||
import { ensureUppercaseSequence } from 'mf-utilities'; | ||
import { ensureUppercaseSequence } from './ensureUppercaseSequence'; | ||
/** | ||
@@ -6,0 +5,0 @@ * Convert a nucleic sequence to a MF |
Sorry, the diff of this file is not supported yet
71782
37
847
Updatedmf-utilities@^3.3.0