nipy / niwidgets

Neuroimaging widgets for jupyter notebooks
http://www.nipy.org/niwidgets
Other
84 stars 34 forks source link

Support Python 3.5 #13

Closed cancan101 closed 7 years ago

cancan101 commented 7 years ago

Right now only python 3.6 is supported:

/usr/src/app/src/niwidgets/niwidgets/niwidget_volume.py in __init__(self, filename)
     41                     ``PosixPath`` from python3's pathlib.
     42         """
---> 43         self.filename = Path(filename).resolve(strict=True)
     44 
     45         # load data in advance

TypeError: resolve() got an unexpected keyword argument 'strict'

due to strict being added in 3.6.

janfreyberg commented 7 years ago

Ah wow, OK - didn't realise this. Thanks.