mf-matcher
Advanced tools
Comparing version 3.2.7 to 3.2.8
@@ -21,16 +21,17 @@ /** | ||
export function generalMatcher(entry?: object, options?: { | ||
minMW?: number; | ||
maxMW?: number; | ||
minEM?: number; | ||
maxEM?: number; | ||
minCharge?: number; | ||
maxCharge?: number; | ||
absoluteCharge?: boolean; | ||
minMW?: number | undefined; | ||
maxMW?: number | undefined; | ||
minEM?: number | undefined; | ||
maxEM?: number | undefined; | ||
minCharge?: number | undefined; | ||
maxCharge?: number | undefined; | ||
absoluteCharge?: boolean | undefined; | ||
unsaturation?: { | ||
min?: number; | ||
max?: number; | ||
onlyInteger?: boolean; | ||
onlyNonInteger?: boolean; | ||
}; | ||
min?: number | undefined; | ||
max?: number | undefined; | ||
onlyInteger?: boolean | undefined; | ||
onlyNonInteger?: boolean | undefined; | ||
} | undefined; | ||
atoms?: object; | ||
}): boolean; | ||
//# sourceMappingURL=generalMatcher.d.ts.map |
@@ -55,1 +55,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=generalMatcher.js.map |
export * from "./generalMatcher.js"; | ||
export * from "./msemMatcher.js"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -19,1 +19,2 @@ "use strict"; | ||
__exportStar(require("./msemMatcher.js"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -51,73 +51,86 @@ /** | ||
*/ | ||
forceIonization?: boolean; | ||
forceIonization?: boolean | undefined; | ||
/** | ||
* - The precision on the experimental mass | ||
*/ | ||
precision?: number; | ||
precision?: number | undefined; | ||
/** | ||
* - Target mass, allows to calculate error and filter results | ||
*/ | ||
targetMass?: number; | ||
targetMass?: number | undefined; | ||
/** | ||
* - Target masses: SORTED array of numbers | ||
*/ | ||
targetMasses?: number[]; | ||
targetMasses?: number[] | undefined; | ||
/** | ||
* - Target intensities: SORTED array of numbers | ||
*/ | ||
targetIntensities?: number[]; | ||
targetIntensities?: number[] | undefined; | ||
/** | ||
* - Minimal monoisotopic mass | ||
*/ | ||
minMW?: number; | ||
minMW?: number | undefined; | ||
/** | ||
* - Maximal monoisotopic mass | ||
*/ | ||
maxMW?: number; | ||
maxMW?: number | undefined; | ||
/** | ||
* - Minimal monoisotopic mass | ||
*/ | ||
minEM?: number; | ||
minEM?: number | undefined; | ||
/** | ||
* - Maximal monoisotopic mass | ||
*/ | ||
maxEM?: number; | ||
maxEM?: number | undefined; | ||
/** | ||
* - Minimal monoisotopic mass observed by mass | ||
*/ | ||
minMSEM?: number; | ||
minMSEM?: number | undefined; | ||
/** | ||
* - Maximal monoisotopic mass observed by mass | ||
*/ | ||
maxMSEM?: number; | ||
maxMSEM?: number | undefined; | ||
/** | ||
* - Minimal charge | ||
*/ | ||
minCharge?: number; | ||
minCharge?: number | undefined; | ||
/** | ||
* - Maximal charge | ||
*/ | ||
maxCharge?: number; | ||
maxCharge?: number | undefined; | ||
/** | ||
* - If true, the charge is absolute (so between 0 and +Infinity by default) | ||
*/ | ||
absoluteCharge?: boolean; | ||
absoluteCharge?: boolean | undefined; | ||
/** | ||
* - Allow to have negative number of atoms | ||
*/ | ||
allowNegativeAtoms?: boolean; | ||
allowNegativeAtoms?: boolean | undefined; | ||
unsaturation?: { | ||
min?: number; | ||
max?: number; | ||
onlyInteger?: boolean; | ||
onlyNonInteger?: boolean; | ||
}; | ||
/** | ||
* - Minimal unsaturation | ||
*/ | ||
min?: number | undefined; | ||
/** | ||
* - Maximal unsaturation | ||
*/ | ||
max?: number | undefined; | ||
/** | ||
* - Integer unsaturation | ||
*/ | ||
onlyInteger?: boolean | undefined; | ||
/** | ||
* - Non integer unsaturation | ||
*/ | ||
onlyNonInteger?: boolean | undefined; | ||
} | undefined; | ||
/** | ||
* - object of atom:{min, max} | ||
*/ | ||
atoms?: boolean; | ||
atoms?: boolean | undefined; | ||
/** | ||
* - a function that contains information about the current MF | ||
*/ | ||
callback?: Function; | ||
callback?: Function | undefined; | ||
}; | ||
//# sourceMappingURL=msemMatcher.d.ts.map |
@@ -114,1 +114,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=msemMatcher.js.map |
@@ -11,6 +11,7 @@ /** | ||
export function unsaturationMatcher(entry?: object, options?: { | ||
min?: number; | ||
max?: number; | ||
onlyInteger?: boolean; | ||
onlyNonInteger?: boolean; | ||
min?: number | undefined; | ||
max?: number | undefined; | ||
onlyInteger?: boolean | undefined; | ||
onlyNonInteger?: boolean | undefined; | ||
}): boolean; | ||
//# sourceMappingURL=unsaturationMatcher.d.ts.map |
@@ -25,1 +25,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=unsaturationMatcher.js.map |
{ | ||
"name": "mf-matcher", | ||
"version": "3.2.7", | ||
"version": "3.2.8", | ||
"description": "Returns true / false for an object using mw, em, msem, unsaturation and atoms", | ||
@@ -23,4 +23,4 @@ "main": "lib/src/index.js", | ||
"dependencies": { | ||
"mf-utilities": "^3.3.0", | ||
"ml-spectra-processing": "^14.6.0" | ||
"mf-utilities": "^3.3.1", | ||
"ml-spectra-processing": "^14.7.0" | ||
}, | ||
@@ -30,3 +30,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "78eda3ed5d6830f7570d3867af21af2d5345a39e" | ||
"gitHead": "a5a0497a4a284ffcbeaf90a39baba0170a6b1e24" | ||
} |
157945
25
605
Updatedmf-utilities@^3.3.1