VBIndex / py_vb_toolbox

Vogt-Bailey index toolbox in Python
GNU General Public License v3.0
12 stars 12 forks source link

Error with latest dev version #48

Closed paola-g closed 1 year ago

paola-g commented 1 year ago

I received this error with the latest version of the dev branch:

Traceback (most recent call last): File "C:\Users\paola\anaconda3\Scripts\vb_tool-script.py", line 33, in sys.exit(load_entry_point('vb-toolbox==2.1.0', 'console_scripts', 'vb_tool')()) File "C:\Users\paola\anaconda3\lib\site-packages\vb_toolbox-2.1.0-py3.8.egg\vb_toolbox\app.py", line 135, in main if not args.data.lower().endswith('.nii', '.nii.gz'): TypeError: slice indices must be integers or None or have an index method

ChristineFarrugia commented 1 year ago

Should work now.