Open alessandrofelder opened 1 year ago
This is possibly a more-fleshed-out duplicate of https://github.com/brainglobe/bg-atlasapi/issues/150 and should replace it in that repo?
yeah as with a lot of things, I think this is a bg-atlasapi issue really
IIUC there are currently several ways to customise where downloaded atlases are stored
brainglobe_dir
as an argument to theBrainGlobeAtlas
constructorconfig_dir
as an argument to theBrainGlobeAtlas
constructorBRAINGLOBE_CONFIG_DIR
environmental variable and storing a config file there.This has some consequences that can
brainglobe_dir
andconfig_dir
are passed,brainglobe_dir
takes precendence (I think, but this is undocumented!)brainglobe_dir
is passed toBrainGlobeAtlas()
(and therefore an atlas is downloaded), that atlas will not be part of the output ofget_downloaded_versions()
.Additionally, code interacting with the
bg_atlasapi
API will need to remember to pass the right arguments, making this susceptible to having to change things in many different places ifbg_atlasapi
changes.This is possibly a more-fleshed-out duplicate of https://github.com/brainglobe/bg-atlasapi/issues/150 and should replace it in that repo?