Skip to content

Commit

Permalink
Merge pull request #3115 from jeff1evesque/bug-3099
Browse files Browse the repository at this point in the history
#3099: Fix json dataset submission on web-interface
  • Loading branch information
jeff1evesque committed Nov 20, 2017
2 parents 9972795 + 4fe1e16 commit 13ae291
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions brain/session/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def dataset2dict(model_type, upload):
Draft4Validator(schema_svm()).validate(instance)
elif model_type == list_model_type[1]:
Draft4Validator(schema_svr()).validate(instance)
converted.extend(instance)
except Exception, error:
msg = "%s contains invalid syntax, with error: %s" % (
dataset['filename'],
Expand Down

0 comments on commit 13ae291

Please sign in to comment.