Skip to content
Snippets Groups Projects
Commit 537f20b9 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed #22 with the proposed correction

parent d84630fa
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ def _scores(algorithm, model, probes, allow_missing_files):
# the file selector object
fs = FileSelector.instance()
# the scores to be computed; initialized with NaN
scores = numpy.full((1,len(probes)), numpy.nan, numpy.float64)
scores = numpy.ones((1,len(probes)), numpy.float64) * numpy.nan
if allow_missing_files and model is None:
# if we have no model, all scores are undefined
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment