Skip to content
Snippets Groups Projects
Commit 845b4ccb authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[database] Added missing NumpyJSONEncoder class to simplejson dump call

parent 46dbfcfe
Branches
Tags v2.1.5
1 merge request!17Merge development branch 1.5.x
...@@ -141,7 +141,7 @@ class Runner(object): ...@@ -141,7 +141,7 @@ class Runner(object):
os.makedirs(os.path.dirname(filename)) os.makedirs(os.path.dirname(filename))
with open(filename, 'wb') as f: with open(filename, 'wb') as f:
simplejson.dump(objs, f) simplejson.dump(objs, f, cls=utils.NumpyJSONEncoder)
def setup(self, filename, start_index=None, end_index=None, pack=True): def setup(self, filename, start_index=None, end_index=None, pack=True):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment