Commit b9020e41 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Dont replace boolean values

parent 65898c57
Pipeline #37881 passed with stages
in 5 minutes and 17 seconds
......@@ -211,7 +211,7 @@ def export_dict_to_h5(dic, h5file, h5path, overwrite_data=True, mode="a"):
modified_dic = convert_dict_values(
{None: "None", True: "True", False: "False"},
{None: "None"},
return dicttoh5(
......@@ -226,7 +226,7 @@ def import_h5_to_dict(h5file, h5path, asarray=False):
dic = h5todict(h5file, path=h5path, asarray=asarray)
modified_dic = convert_dict_values(
{"None": None, "True": True, "False": False},
{"None": None},
return modified_dic
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