tsbinns / mni_to_atlas

A simple Python-based tool for finding brain atlas regions based on MNI coordinates.
MIT License
10 stars 0 forks source link

"SyntaxError: invalid syntax" in init #2

Closed tsbinns closed 1 year ago

tsbinns commented 1 year ago

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 syntax

_Originally posted by @Atom97 in https://github.com/tsbinns/mni_to_region/issues/1#issuecomment-1698237474_

tsbinns commented 1 year ago

@Atom97 Please can you provide a minimal working example so I can try to replicate this along with a list of your packages and their versions (e.g. using pip freeze). Cheers!