From 54907256d8e3ae8bf9ddf3f48c360f464aa350a1 Mon Sep 17 00:00:00 2001 From: Chengxin Dai <37200167+daichengxin@users.noreply.github.com> Date: Thu, 15 Aug 2024 11:05:20 +0800 Subject: [PATCH 1/2] Update snr.py --- quantmsutils/features/snr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantmsutils/features/snr.py b/quantmsutils/features/snr.py index a0a8f3d..2e2947e 100644 --- a/quantmsutils/features/snr.py +++ b/quantmsutils/features/snr.py @@ -103,7 +103,7 @@ def spectrum2feature(ctx, ms_path: str, idxml: str, output: str) -> None: # Add quantms:SNR as a feature search_parameters = protein_ids[0].getSearchParameters() features = search_parameters.getMetaValue("extra_features") - extra_features = features + ",quantms:SNR, quantms:SpectralEntropy, quantms:FracTICinTop10Peaks, quantms:WeightedStdMz" + extra_features = features + ",quantms:SNR,quantms:SpectralEntropy,quantms:FracTICinTop10Peaks,quantms:WeightedStdMz" search_parameters.setMetaValue("extra_features", extra_features) protein_ids[0].setSearchParameters(search_parameters) From 92914dbe037ebdb4a01e14b53ddafa39b028b199 Mon Sep 17 00:00:00 2001 From: Chengxin Dai <37200167+daichengxin@users.noreply.github.com> Date: Thu, 15 Aug 2024 14:15:42 +0800 Subject: [PATCH 2/2] upgrade version --- pyproject.toml | 2 +- quantmsutils/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index be3b02c..2721a46 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "quantms-utils" -version = "0.0.7" +version = "0.0.8" description = "Python scripts and helpers for the quantMS workflow" authors = ["Yasset Perez-Riverol", "Dai Chengxin"] packages = [ diff --git a/quantmsutils/__init__.py b/quantmsutils/__init__.py index 6526deb..a73339b 100644 --- a/quantmsutils/__init__.py +++ b/quantmsutils/__init__.py @@ -1 +1 @@ -__version__ = "0.0.7" +__version__ = "0.0.8"