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

Hello:-)

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!

Best,
Maria

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!

Thanks,
Ray

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?

Best,
Maria

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!