Giter VIP home page Giter VIP logo

mni_to_atlas's People

Contributors

tsbinns avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mni_to_atlas's Issues

'type' object is not subscriptable

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?

Syntax error while importing

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:

  • Ubuntu 22.04
  • Python 3.9.13
  • conda 22.9.0
  • Running on JupyterLab, so:
    • IPython : 7.31.1
    • ipykernel : 6.15.2
    • ipywidgets : 7.6.5
    • jupyter_client : 7.3.4
    • jupyter_core : 4.11.1
    • jupyter_server : 1.18.1
    • jupyterlab : 3.4.4
    • nbclient : 0.5.13
    • nbconvert : 6.4.4
    • nbformat : 5.5.0
    • notebook : 6.4.12
    • qtconsole : 5.3.2
    • traitlets : 5.1.1

I would be glad if you can offer any help with this regard

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.