Commit e49eb316 authored by Dimitar Vlaykov's avatar Dimitar Vlaykov
Browse files

bugfix: check for specified file_name

parent 2e325477
Pipeline #13385 passed with stage
in 6 minutes and 1 second
......@@ -178,7 +178,7 @@ class _base(object):
parameters = None,
file_name = None):
assert(group != 'parameters')
if type(file_name) == None:
if type(file_name) == type(None):
file_name = os.path.join(self.work_dir, self.simname + '.h5')
ofile = h5py.File(file_name, 'a')
for k in parameters.keys():
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment