Skip to content

Instantly share code, notes, and snippets.

@dyf
Created June 21, 2017 21:48
Show Gist options
  • Save dyf/67095502366a137d464e207ce643c72b to your computer and use it in GitHub Desktop.
Save dyf/67095502366a137d464e207ce643c72b to your computer and use it in GitHub Desktop.
find tagged experiment containers
from allensdk.core.brain_observatory_cache import BrainObservatoryCache
boc = BrainObservatoryCache(manifest_file='boc/manifest.json')
containers = boc.get_experiment_containers(include_failed=True)
tagged_containers = [ c for c in containers if c['tags'] ]
for tc in tagged_containers:
print(tc['id'], tc['tags'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment