known_remotes#
- brainglobe_atlasapi.remotes.known_remotes(base_dir, remotes)[source]#
List the remotes whose local cache may hold an atlas.
- Parameters:
base_dir (Path) – Directory holding one cache directory per remote.
remotes (dict) – Mapping of remote key to configured remote.
- Returns:
Configured remotes in config order, then any other remote recorded under
base_dir, without duplicates.- Return type:
list of str