nucleotide
Advanced tools
Comparing version 1.2.13 to 1.2.14
@@ -23,3 +23,3 @@ { | ||
}, | ||
"version": "1.2.13", | ||
"version": "1.2.14", | ||
"devDependencies": { | ||
@@ -32,3 +32,3 @@ "mf-parser": "^1.4.0" | ||
}, | ||
"gitHead": "b044512a459c82c7bb816c52d0e90d48b8ffeae3" | ||
"gitHead": "8bb060a1741054f90e42ddbd1a3d411a91b63681" | ||
} |
@@ -8,3 +8,3 @@ 'use strict'; | ||
let sequence = ensureUppercaseSequence('aattccgg'); | ||
expect(sequence).toStrictEqual('AATTCCGG'); | ||
expect(sequence).toBe('AATTCCGG'); | ||
}); | ||
@@ -14,3 +14,3 @@ | ||
let sequence = ensureUppercaseSequence('aa(C2H5)ttcc(Me)gg'); | ||
expect(sequence).toStrictEqual('AA(C2H5)TTCC(Me)GG'); | ||
expect(sequence).toBe('AA(C2H5)TTCC(Me)GG'); | ||
}); | ||
@@ -20,3 +20,3 @@ | ||
let sequence = ensureUppercaseSequence('Tmp(C2H5)Adp(Me)Amp'); | ||
expect(sequence).toStrictEqual('Tmp(C2H5)Adp(Me)Amp'); | ||
expect(sequence).toBe('Tmp(C2H5)Adp(Me)Amp'); | ||
}); | ||
@@ -26,4 +26,4 @@ | ||
let sequence = ensureUppercaseSequence('HOTmp(C2H5)Adp(Me)AmpH'); | ||
expect(sequence).toStrictEqual('HOTmp(C2H5)Adp(Me)AmpH'); | ||
expect(sequence).toBe('HOTmp(C2H5)Adp(Me)AmpH'); | ||
}); | ||
}); |
@@ -10,3 +10,3 @@ 'use strict'; | ||
let sequence = sequenceToMF(' '); | ||
expect(sequence).toStrictEqual(''); | ||
expect(sequence).toBe(''); | ||
let mass = new MF(sequence).getInfo().mass; | ||
@@ -18,3 +18,3 @@ expect(mass).toBeCloseTo(0, 1); | ||
let sequence = sequenceToMF('atc'); | ||
expect(sequence).toStrictEqual('HODampDtmpDcmpH.HODgmpDampDtmpH'); | ||
expect(sequence).toBe('HODampDtmpDcmpH.HODgmpDampDtmpH'); | ||
let mass = new MF(sequence).getInfo().mass; | ||
@@ -26,3 +26,3 @@ expect(mass).toBeCloseTo(1889.23, 1); | ||
let sequence = sequenceToMF('ATC'); | ||
expect(sequence).toStrictEqual('HODampDtmpDcmpH.HODgmpDampDtmpH'); | ||
expect(sequence).toBe('HODampDtmpDcmpH.HODgmpDampDtmpH'); | ||
let mass = new MF(sequence).getInfo().mass; | ||
@@ -33,3 +33,3 @@ expect(mass).toBeCloseTo(1889.23, 1); | ||
let sequence = sequenceToMF('A(H-1C-1)TC', { kind: 'dna' }); | ||
expect(sequence).toStrictEqual('HODamp(H-1C-1)DtmpDcmpH'); | ||
expect(sequence).toBe('HODamp(H-1C-1)DtmpDcmpH'); | ||
}); | ||
@@ -39,3 +39,3 @@ | ||
let sequence = sequenceToMF('HODampDtmpDcmpH', { kind: 'dna' }); | ||
expect(sequence).toStrictEqual('HODampDtmpDcmpH'); | ||
expect(sequence).toBe('HODampDtmpDcmpH'); | ||
}); | ||
@@ -45,3 +45,3 @@ | ||
let sequence = sequenceToMF('HODamp(H-1C-1)DtmpDcmpH', { kind: 'dna' }); | ||
expect(sequence).toStrictEqual('HODamp(H-1C-1)DtmpDcmpH'); | ||
expect(sequence).toBe('HODamp(H-1C-1)DtmpDcmpH'); | ||
}); | ||
@@ -51,3 +51,3 @@ | ||
let sequence = sequenceToMF('atc', { kind: 'dna' }); | ||
expect(sequence).toStrictEqual('HODampDtmpDcmpH'); | ||
expect(sequence).toBe('HODampDtmpDcmpH'); | ||
}); | ||
@@ -57,3 +57,3 @@ | ||
let sequence = sequenceToMF('(HO)ATC(NH2)', { kind: 'dna' }); | ||
expect(sequence).toStrictEqual('(HO)DampDtmpDcmp(NH2)'); | ||
expect(sequence).toBe('(HO)DampDtmpDcmp(NH2)'); | ||
}); | ||
@@ -63,3 +63,3 @@ | ||
let sequence = sequenceToMF('(HO)atc(NH2)', { kind: 'dna' }); | ||
expect(sequence).toStrictEqual('(HO)DampDtmpDcmp(NH2)'); | ||
expect(sequence).toBe('(HO)DampDtmpDcmp(NH2)'); | ||
}); | ||
@@ -69,3 +69,3 @@ | ||
let sequence = sequenceToMF('AAU'); | ||
expect(sequence).toStrictEqual('HOAmpAmpUmpH'); | ||
expect(sequence).toBe('HOAmpAmpUmpH'); | ||
let mass = new MF(sequence).getInfo().mass; | ||
@@ -77,3 +77,3 @@ expect(mass).toBeCloseTo(982.6, 1); | ||
let sequence = sequenceToMF('AAA', { circular: true }); | ||
expect(sequence).toStrictEqual('DampDampDamp.DtmpDtmpDtmp'); | ||
expect(sequence).toBe('DampDampDamp.DtmpDtmpDtmp'); | ||
let mass = new MF(sequence).getInfo().mass; | ||
@@ -85,3 +85,3 @@ expect(mass).toBeCloseTo(1852.21, 1); | ||
let sequence = sequenceToMF('AAA', { kind: 'RNA' }); | ||
expect(sequence).toStrictEqual('HOAmpAmpAmpH'); | ||
expect(sequence).toBe('HOAmpAmpAmpH'); | ||
let mass = new MF(sequence).getInfo().mass; | ||
@@ -93,3 +93,3 @@ expect(mass).toBeCloseTo(1005.63, 1); | ||
let sequence = sequenceToMF('œεξ£', { kind: 'RNA' }); | ||
expect(sequence).toStrictEqual('HODamDgmDimTiaH'); | ||
expect(sequence).toBe('HODamDgmDimTiaH'); | ||
let mass = new MF(sequence).getInfo().mass; | ||
@@ -101,3 +101,3 @@ expect(mass).toBeCloseTo(1596.28, 1); | ||
let sequence = sequenceToMF('AAA', { kind: 'DNA' }); | ||
expect(sequence).toStrictEqual('HODampDampDampH'); | ||
expect(sequence).toBe('HODampDampDampH'); | ||
let mass = new MF(sequence).getInfo().mass; | ||
@@ -109,3 +109,3 @@ expect(mass).toBeCloseTo(957.64, 1); | ||
let sequence = sequenceToMF('AAA', { kind: 'ds-DNA' }); | ||
expect(sequence).toStrictEqual('HODampDampDampH.HODtmpDtmpDtmpH'); | ||
expect(sequence).toBe('HODampDampDampH.HODtmpDtmpDtmpH'); | ||
let mass = new MF(sequence).getInfo().mass; | ||
@@ -120,3 +120,3 @@ expect(mass).toBeCloseTo(1888.24, 1); | ||
}); | ||
expect(sequence).toStrictEqual('HODadeDampDampH'); | ||
expect(sequence).toBe('HODadeDampDampH'); | ||
let mass = new MF(sequence).getInfo().mass; | ||
@@ -131,3 +131,3 @@ expect(mass).toBeCloseTo(877.66, 1); | ||
}); | ||
expect(sequence).toStrictEqual('HODampDampDampH'); | ||
expect(sequence).toBe('HODampDampDampH'); | ||
let mass = new MF(sequence).getInfo().mass; | ||
@@ -141,3 +141,3 @@ expect(mass).toBeCloseTo(957.64, 1); | ||
}); | ||
expect(sequence).toStrictEqual('HODadpDampDampH'); | ||
expect(sequence).toBe('HODadpDampDampH'); | ||
let mass = new MF(sequence).getInfo().mass; | ||
@@ -152,3 +152,3 @@ expect(mass).toBeCloseTo(1037.62, 1); | ||
}); | ||
expect(sequence).toStrictEqual('HODatpDampDampH'); | ||
expect(sequence).toBe('HODatpDampDampH'); | ||
let mass = new MF(sequence).getInfo().mass; | ||
@@ -163,4 +163,4 @@ expect(mass).toBeCloseTo(1117.6, 1); | ||
}); | ||
expect(sequence).toStrictEqual('HOAmcTmcRygH'); | ||
expect(sequence).toBe('HOAmcTmcRygH'); | ||
}); | ||
}); |
32830