Closed ejolly closed 3 years ago
Brain_Data doesn't like Path objects and only responds well to os.path.join or explicitly casting to string:
Brain_Data
Path
os.path.join
It would be really nice to support this, e.g.:
data_dir = Path('myproject/data') brain = Brain_Data(data_dir / 'subject_01')
Instead of requiring this
data_dir = Path('myproject/data') brain = Brain_Data(str(data_dir / 'subject_01'))
Brain_Data
doesn't likePath
objects and only responds well toos.path.join
or explicitly casting to string:It would be really nice to support this, e.g.:
Instead of requiring this