nucleotide
Advanced tools
Comparing version 0.6.4 to 0.7.0
@@ -23,6 +23,6 @@ { | ||
}, | ||
"version": "0.6.4", | ||
"version": "0.7.0", | ||
"devDependencies": { | ||
"mf-parser": "^0.6.4" | ||
"mf-parser": "^0.7.0" | ||
} | ||
} |
@@ -6,20 +6,4 @@ 'use strict'; | ||
describe('test generate fragments', () => { | ||
test('nucleotide fragmentation a of HODadeDtmpDcmpH', () => { | ||
let fragments = generateFragments('HODadeDtmpDcmpH', { a: true }); | ||
expect(fragments).toMatchSnapshot(); | ||
}); | ||
test('nucleotide fragmentation ab of HODadeDtmpDcmpH', () => { | ||
let fragments = generateFragments('HODadeDtmpDcmpH', { ab: true }); | ||
expect(fragments).toMatchSnapshot(); | ||
}); | ||
test('nucleotide fragmentation y of HODadeDtmpDcmpH', () => { | ||
let fragments = generateFragments('HODadeDtmpDcmpH', { y: true }); | ||
expect(fragments).toMatchSnapshot(); | ||
}); | ||
test('nucleotide to sequence of HODampDtmpDcmpH', () => { | ||
test('nucleotide to sequence of OHDampDtmpDcmpH', () => { | ||
let fragments = generateFragments('HODampDtmpDcmpH', { a: true }); | ||
expect(fragments).toMatchSnapshot(); | ||
}); | ||
@@ -26,0 +10,0 @@ test('nucleotide to sequence of HODampDtmpDcmpH', () => { |
@@ -44,5 +44,4 @@ 'use strict'; | ||
function addFiveTerm(mfs, fiveTerm, i, options) { | ||
if (options.a) mfs.push(fiveTerm + 'O-1H-1$a' + i); | ||
if (options.ab && i > 1) | ||
mfs.push(furanThreeTerm(fiveTerm) + '$a' + i + ' - B'); | ||
if (options.a) mfs.push(fiveTerm + 'O-1$a' + i); | ||
if (options.ab) mfs.push(furanThreeTerm(fiveTerm) + '$a' + i + ' - B'); | ||
if (options.b) mfs.push(fiveTerm + '$b' + i); | ||
@@ -49,0 +48,0 @@ if (options.c) mfs.push(fiveTerm + 'PO2H$c' + i); |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
11474
288