From fb528c4f0ee41cb876242788d488cfc448653859 Mon Sep 17 00:00:00 2001 From: hechth Date: Thu, 12 Oct 2023 14:05:29 +0200 Subject: [PATCH] fixed spec2vec test --- tools/spec2vec/macros.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/spec2vec/macros.xml b/tools/spec2vec/macros.xml index 8c86ecaa..058f2aa8 100644 --- a/tools/spec2vec/macros.xml +++ b/tools/spec2vec/macros.xml @@ -54,8 +54,8 @@ from matchms.importing import load_from_msp, scores_from_json from matchms import Scores -#if $scores.use_scores -scores = scores_from_json("$scores_in") +#if $scores.use_scores == "True" +scores = scores_from_json("${scores_in}") #else scores = Scores(references=list(load_from_msp("$references")), queries=list(load_from_msp("$queries")), is_symmetric=False) #end if