Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbinBouwmeester committed May 2, 2023
1 parent b7baa6c commit 4bf4d01
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ 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).

## [2.0.2] - 2023-05-02

### Changed
- bump version

## [2.0.1] - 2023-05-02

### Changed
Expand Down
1 change: 1 addition & 0 deletions deeplc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@

from deeplc.deeplc import DeepLC
from deeplc.feat_extractor import FeatExtractor

1 change: 0 additions & 1 deletion deeplc/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ def run(
verbose=True,
):
"""Run DeepLC."""

logger.info("Using DeepLC version %s", __version__)
logger.debug("Using %i CPU threads", n_threads)

Expand Down
10 changes: 9 additions & 1 deletion deeplc/feat_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,9 +530,17 @@ def rolling_sum(a, n=2):
matrix_hc[i, dict_aa[peptide_position[0]]] = 1.
except KeyError:
pass
except IndexError:
# Likely to be a sequence > 60 AA
pass

if peptide_position[1] is not None:
modification_composition = peptide_position[1][0].composition
try:
modification_composition = peptide_position[1][0].composition
except KeyError:
logger.debug(
"Skipping the following (not in library): ", peptide_position[1])
continue

for atom_position_composition,atom_change in modification_composition.items():
matrix[i, dict_index[atom_position_composition]] += atom_change
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='deeplc',
version='2.0.1',
version='2.0.2',
license='apache-2.0',
description='DeepLC: Retention time prediction for (modified) peptides using Deep Learning.',
long_description=LONG_DESCRIPTION,
Expand Down

0 comments on commit 4bf4d01

Please sign in to comment.