write_config_value#

brainglobe_atlasapi.config.write_config_value(key, val, path=None)[source]#

Write a new value in the config file. To make things simple, ignore sections and look directly for matching parameters names.

Parameters:
  • key (str) – Name of the parameter to configure.

  • val – New value.

  • path (Path object) – Path of the config file (optional).