Skip to content

Commit

Permalink
fixed spec2vec test
Browse files Browse the repository at this point in the history
  • Loading branch information
hechth committed Oct 12, 2023
1 parent dd2aaca commit fb528c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/spec2vec/macros.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
<token name="@init_scores@">
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
Expand Down

0 comments on commit fb528c4

Please sign in to comment.