io_tools.dict_to_h5

io_tools.dict_to_h5.prep_params_for_h5(dict_to_write)[source]

Replace all NoneType with a string ‘none’ to be able to write to h5.

io_tools.dict_to_h5.prep_params_from_h5(dict_to_read)[source]

Replace all ‘none’ strings with NoneType to parse the dict coming from h5.