write_default_config#

brainglobe_atlasapi.config.write_default_config(path=None, template=None)[source]#

Write configuration file at first repo usage. In this way, we don’t need to keep a confusing template config file in the repo.

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

  • template (dict) – Template of the config file to be written (optional).