Skip to content

Commit

Permalink
Merge pull request #253 from iomega/update_model_version
Browse files Browse the repository at this point in the history
updated_dois
  • Loading branch information
niekdejonge authored Aug 20, 2024
2 parents 1494095 + 10b1b2a commit fdd84bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.5.3
### Fixed
- Updated the doi to the MS2Query library. This new library has a fix for a bug misrepresenting the compound classes.

## 1.5.2
### Fixed
- Handle missing compound names. Previously MS2Query would break, when no compound name was available for an analog.
Expand Down
2 changes: 1 addition & 1 deletion ms2query/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.5.2'
__version__ = '1.5.3'
4 changes: 2 additions & 2 deletions ms2query/run_ms2query.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

def zenodo_dois(ionisation_mode):
"Returns the most up to date url for Zenodo"
zenodo_DOIs = {"positive": 12622446,
"negative": 12606475}
zenodo_DOIs = {"positive": 13348638,
"negative": 13348683}
assert ionisation_mode in zenodo_DOIs, "Expected 'positive' or 'negative' as input"
zenodo_doi = zenodo_DOIs[ionisation_mode]
zenodo_metadata_url = "https://zenodo.org/api/records/" + str(zenodo_doi)
Expand Down

0 comments on commit fdd84bd

Please sign in to comment.