From c6f3609015516480a5dd671eb81fc1c25fba93a1 Mon Sep 17 00:00:00 2001 From: Zargham Ahmad Date: Tue, 12 Sep 2023 04:15:57 +0200 Subject: [PATCH] bump matchms version --- tools/matchms/macros.xml | 2 +- tools/matchms/matchms_spectral_similarity.xml | 2 +- tools/spec2vec/spec2vec_similarity.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/matchms/macros.xml b/tools/matchms/macros.xml index d1c37de5..8beccdc2 100644 --- a/tools/matchms/macros.xml +++ b/tools/matchms/macros.xml @@ -1,5 +1,5 @@ - 0.20.0 + 0.22.0 diff --git a/tools/matchms/matchms_spectral_similarity.xml b/tools/matchms/matchms_spectral_similarity.xml index 200f1fe3..b4e21421 100644 --- a/tools/matchms/matchms_spectral_similarity.xml +++ b/tools/matchms/matchms_spectral_similarity.xml @@ -45,7 +45,7 @@ layer = similarity.sparse_array( scores._scores.add_sparse_data(scores._scores.row, scores._scores.col, layer, name) -scores.filter_by_range(inplace=True, name=name+"_matches", low=0) +scores.filter_by_range(name=name+"_matches", low=0) scores.to_json("$similarity_scores") diff --git a/tools/spec2vec/spec2vec_similarity.xml b/tools/spec2vec/spec2vec_similarity.xml index 77212a18..e11df217 100644 --- a/tools/spec2vec/spec2vec_similarity.xml +++ b/tools/spec2vec/spec2vec_similarity.xml @@ -40,7 +40,7 @@ layer = similarity.sparse_array( scores._scores.add_sparse_data(scores._scores.row, scores._scores.col, layer, name) -scores.filter_by_range(inplace=True, name=name, low=0) +scores.filter_by_range(name=name, low=0) scores.to_json("$similarity_scores")