neurokin.utils.helper package#

Submodules#

neurokin.utils.helper.load_config module#

neurokin.utils.helper.load_config.keys2string(d)[source]#

Convert all keys in strings (helpful if dates are keys).

Reference: https://stackoverflow.com/questions/62198378/numeric-keys-in-yaml-files :param d: dictionary to convert the keys of :return: converted dictionary

neurokin.utils.helper.load_config.read_config(path, converts_keys_to_string=False)[source]#

Reads structured config file defining a project.

Parameters:
  • path – path to config

  • converts_keys_to_string

Returns:

dict from a yaml file

Module contents#