You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's becoming increasingly common, particularly in Python 3, to use pathlib objects to describe files and directories. It would be useful to transparently accept these in File and Directory traits, converting them to strings.
It might also be useful (in Nipype 2.0) to add variants of these traits that are automatically promoted to pathlib objects when pulled from self.inputs.
It's becoming increasingly common, particularly in Python 3, to use
pathlib
objects to describe files and directories. It would be useful to transparently accept these inFile
andDirectory
traits, converting them to strings.It might also be useful (in Nipype 2.0) to add variants of these traits that are automatically promoted to
pathlib
objects when pulled fromself.inputs
.Related: #2513
The text was updated successfully, but these errors were encountered: