Description
I am working on a computer with limited permissions and I was having the same issue as mentioned in this pull request (#229) but with the suggestion of exporting the path this error is eliminated.
However, I still have a trait error:
TraitError: The trait 'converted_files' of a Dcm2niixOutputSpec instance is an existing file name, but the path '/private/var/folders/yz/g_3xm0ms2f583j1d7bd6bz8xvxx8gp/T/tmpsPPOra/convert/func.nii.gz' does not exist.
I guess I am getting this error because heudiconv is trying to create a folder in a location where I don't have permission to write.
I added this line to convert.py convertnode.base_dir = "/Users/ilkay.isik/heudiconv/tmp"
showing another path for this folder and then everything worked fine.
Is this okay or can it create some future problems with compatibility/maintenance?