How to get the container id's that I have downloaded from Allen Brain Observatory from the cache


Is there a convenience function for getting all the container id’s and experimental id’s that I’ve downloaded from AllenBrainObservatory from the cache?

Thank you so much for your work!


Hi Maria,

Thanks for using the Allen Brain Observatory datasets! Unfortunately we don’t have a function for this in our SDK. Please let us know how else we can help!


Thank you for your reply:-)

I kind of solved it-- I can do os.listdir in the cache directory and the file names are the experiment id’s. Does that sound legit to you?


Yes, that’s how I’d do it. The file names are session ids - so it won’t give you experiment container ids, but it will let you see what sessions you have.

Thank you:-) Very useful!