I think the latest version of Nibabel is not supported as it yields the following error
File "/home/gupta/miniconda3/envs/game/bin/med2image", line 363, in <module>
imgConverter = med2image.object_factoryCreate(args).C_convert
File "/home/gupta/miniconda3/envs/game/lib/python3.8/site-packages/med2image/med2image.py", line 799, in __init__
self.C_convert = med2image_nii(
File "/home/gupta/miniconda3/envs/game/lib/python3.8/site-packages/med2image/med2image.py", line 675, in __init__
data = nimg.get_data()
File "/home/gupta/miniconda3/envs/game/lib/python3.8/site-packages/nibabel/deprecator.py", line 208, in deprecated_func
raise exception(message)
nibabel.deprecator.ExpiredDeprecationError: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj).
* deprecated from version: 3.0
* Raises <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
If I roll back to nibabel 5.0.0 the error disappears. I think appropriate versions of dependencies should be mentioned in the setup.py file.
I think the latest version of Nibabel is not supported as it yields the following error
If I roll back to nibabel 5.0.0 the error disappears. I think appropriate versions of dependencies should be mentioned in the setup.py file.