rmarkello / abagen

A toolbox for working with Allen Human Brain Atlas microarray expression data
https://abagen.readthedocs.io
BSD 3-Clause "New" or "Revised" License
93 stars 41 forks source link

Error in running 3.1 #208

Closed lenachenpumc closed 1 year ago

lenachenpumc commented 2 years ago

Dear all This is my first time using python and abagen. I am replicating the tutorial by jupyter. All works well until section 3.1. When I run expression = abagen.get_expression_data(atlas['image'], atlas['info'])

I got error like

TypeError Traceback (most recent call last) Input In [18], in <cell line: 1>() ----> 1 expression = abagen.get_expression_data(atlas['image'], atlas['info'])

TypeError: 'AtlasTree' object is not subscriptable

Best wishes, lena