Skip to content
Snippets Groups Projects
Commit fe94b819 authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

attempt fix

parent 448ba986
No related merge requests found
......@@ -661,7 +661,8 @@ class MassSpecModelSelector(object):
else:
full_matrix = hit_matrix
full_matrix = full_matrix.sample(frac=1.0).astype(float)
if len(full_matrix) > 0:
full_matrix = full_matrix.sample(frac=1.0).astype(float)
self.df = full_matrix
self.predictor = predictor
......
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