tsbinns / mni_to_atlas Goto Github PK
View Code? Open in Web Editor NEWA simple Python-based tool for finding brain atlas regions based on MNI coordinates.
License: MIT License
A simple Python-based tool for finding brain atlas regions based on MNI coordinates.
License: MIT License
Hi,
I am receiving the following runtime error whenever I try to import the package. Here's how I try to import it
from mni_to_atlas import AtlasBrowser
Traceback (most recent call last):
File ~/.conda/envs/nipype/lib/python3.10/site-packages/IPython/core/interactiveshell.py:3526 in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
Cell In[11], line 11
from mni_to_atlas import AtlasBrowser
File ~/.conda/envs/nipype/lib/python3.10/site-packages/mni_to_atlas/__init__.py:3
from .atlas_browser import AtlasBrowser
File ~/.conda/envs/nipype/lib/python3.10/site-packages/mni_to_atlas/atlas_browser.py:336
region_id = int(self._atlas[*atlas_coords])
^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
And here's my system information:
I would be glad if you can offer any help with this regard
Hello!
When I'm trying to import the library, I get a syntax error on line 336 of the init file:
region_id = int(self._atlas[*atlas_coords])
^
SyntaxError: invalid syntaxOriginally posted by @Atom97 in #1 (comment)
Hi. I'm trying to import atlas_browser but when I run the command "from atlas_browser import AtlasBrowser", I get this error: 'type' object is not subscriptable
Why is that and how can I fix it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.