Releases: matchms/matchms
Releases · matchms/matchms
0.31.0
matchms 0.31.0
Added
- New
FlashSimilarityscore class [#827](https://github.com/matchms/matchms/pull/8267. This conceptually follows the Flash Entropy proposed by Li & Fiehn (2023) and allows much faster computation than, for instance,CosineGreedyorModifiedCosine. It is possible to choose differentscore_type(can bespectral entropyorcosine) as well asmatching_mode(can befragment,neutral_lossorhybrid). To compute modified cosine scores, for instance, this would becosinetogether withhybrid). - New
BlinkCosinesimilarity score that is largely following the BLINK score proposed by Harwood et al. (2023), representing a fast-to-compute approximation of the Cosine score between MS/MS spectra #829. - New
add_precursor_formulafilter #826. - New
remove_peaks_relative_to_precursor_mzfilter #833.
Changed
- Added Min-Max scaling to normalize intensities filter #830.
Full Changelog: 0.30.2...0.31.0
0.30.2
0.30.1
What's Changed
- Fix msp import set key as numpy scalar instead of value by @julianpollmann in #807
- Bump requests from 2.32.3 to 2.32.4 by @dependabot in #808
- matchms fails when reading spectra where abundance is in scientific notation by @hechth in #809
- Bump urllib3 from 2.4.0 to 2.5.0 in #811
Full Changelog: 0.30.0...0.30.1
0.30.0
What's Changed
- add support for python 3.13 by @julianpollmann in #804
- upgrade numPy from
>1.24to>=2.0.0
Full Changelog: 0.29.0...0.30.0
0.29.0
What's Changed
Added
- Implemented preliminary mzSpecLib export #757
- added BinnedEmbeddingSimilarity and BaseEmbeddingSimilarity Classes #749
- added Fingerprints Class to compute and store inchikey-fingerprint mapping for a list of spectra #717
- some reference spectra were added #781
Changed
compound_nameis now always the first attribute to be written for each spectrum #762- added option to use different peak separators for msp export #762
- filtering: cloning of Spectra is now optional in filtering and disabled in SpectrumProcessor.
Enable cloning for the use of ProcessingReport withcreate_report = True#754 - importing now supports
pathlib.Path#738 - exporting: empty spectra are saved as empty file instead of not saving at all #722
- exporting:
save_as_mgfnow supports write and append mode #741 - importing:
load_mgfsupports StringIO #745 - importing: fixed bug
load_from_usiAPI call #759 - filtering:
normalize_intensitieswill now set intensities to0instead ofNonewhen peak intensities are 0 #750 - Support GOLM style MSP files #763
- omit prospector, isort, black in favor of ruff #790
New Contributors
- @wasimsandhu made their first contribution in #722
- @mvisani made their first contribution in #745
- @roman-bushuiev made their first contribution in #738
- @acquayefrank made their first contribution in #741
- @oolonek made their first contribution in #748
- @Knerten0815 made their first contribution in #750
- @LucaCappelletti94 made their first contribution in #781
Full Changelog: 0.28.2...0.29
0.28.2
0.28.1
Includes changes to the readme for PyPI compatability.
Full Changelog: 0.28.0...0.28.1
0.28.0
What's Changed
- Increased Test Coverage by @julianpollmann in #701
- Rename CudaMS -> SimMS, tweak description a bit by @tornikeo in #703
- Update utils.py by @niekdejonge in #705
- Updated matchms dependencies by @hechth in #709
- IndexError in
.matrixwhen all scores are 0 by @tornikeo in #702 - add logging for writing spectra to file by @florian-huber in #645
- Enable metadata exporting with tab separators by @hechth in #712
Full Changelog: 0.27.0...0.28.0
0.27.0
[0.27.0] -2024-07-10
Changed
- Avoid using unstable sorting while sorting collected matching peaks #636.
- Losses will no longer be stored as part of a
Spectrumobject, but will be computed on the fly (usingspectrum.lossesorspectrum.compute_losses(loss_mz_from, loss_mz_to))#681 - Jaccard/Tanimoto
@njit/numba-based similarity functions were replaced by 10-50x faster numpy matrix multiplications #638. - Dependencies were updated to allow newer numpy and numba versions 691.
- Renamed method names and parameters to align
spectrums->spectra - Python support changed from 3.8 - 3.11 to 3.9 to 3.12, and dependency versions were updated 640.
Removed
add_losses()filter was removed. Losses will no longer be stored as part of aSpectrumobject, but will be computed on the fly #681.
Fixed
0.26.4
What's Changed
- Derive formula from smiles by @niekdejonge in #661
- Add check filters handle none by @niekdejonge in #665
- fix merge mistake by @niekdejonge in #677
- Add require number of peaks below maximum by @niekdejonge in #664
Full Changelog: 0.26.3...0.26.4