Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: matchms/matchms

0.31.0

06 Oct 15:42

Choose a tag to compare

matchms 0.31.0

Added

  • New FlashSimilarity score 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, CosineGreedy or ModifiedCosine. It is possible to choose different score_type (can be spectral entropy or cosine) as well as matching_mode (can be fragment, neutral_loss or hybrid). To compute modified cosine scores, for instance, this would be cosine together with hybrid).
  • New BlinkCosine similarity 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_formula filter #826.
  • New remove_peaks_relative_to_precursor_mz filter #833.

Changed

  • Added Min-Max scaling to normalize intensities filter #830.

Full Changelog: 0.30.2...0.31.0

0.30.2

30 Jun 07:10
e5318ec

Choose a tag to compare

What's Changed

Full Changelog: 0.30.1...0.30.2

0.30.1

23 Jun 09:44

Choose a tag to compare

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

26 May 16:00
4d6886c

Choose a tag to compare

What's Changed

Full Changelog: 0.29.0...0.30.0

0.29.0

06 May 14:08

Choose a tag to compare

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_name is 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 with create_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_mgf now supports write and append mode #741
  • importing: load_mgf supports StringIO #745
  • importing: fixed bug load_from_usi API call #759
  • filtering: normalize_intensities will now set intensities to 0 instead of None when peak intensities are 0 #750
  • Support GOLM style MSP files #763
  • omit prospector, isort, black in favor of ruff #790

New Contributors

Full Changelog: 0.28.2...0.29

0.28.2

11 Nov 18:50

Choose a tag to compare

What's Changed

Full Changelog: 0.28.1...0.28.2

0.28.1

06 Nov 16:29

Choose a tag to compare

Includes changes to the readme for PyPI compatability.

Full Changelog: 0.28.0...0.28.1

0.28.0

06 Nov 16:07
c2be941

Choose a tag to compare

What's Changed

Full Changelog: 0.27.0...0.28.0

0.27.0

10 Jul 14:24
2e759ec

Choose a tag to compare

[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 Spectrum object, but will be computed on the fly (using spectrum.losses or spectrum.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 a Spectrum object, but will be computed on the fly #681.

Fixed

  • Remove empty spectra before exporting to file #686.
  • Name position in mirror plots #678.

0.26.4

14 Jun 13:15

Choose a tag to compare

What's Changed

Full Changelog: 0.26.3...0.26.4