incf-nidash / nidmresults-fsl

A python library to export FSL's feat results to NIDM-Results
http://nidm.nidash.org/specs/nidm-results.html
MIT License
3 stars 10 forks source link

BF: Add suffix to search space map to deal w/ mutliple masks #156

Closed cmaumet closed 5 years ago

cmaumet commented 5 years ago

What does this PR do?

This PR is companion to https://github.com/incf-nidash/nidmresults/pull/54 to fix a bug identified by @mih in incf-nidash/nidmresults-fsl#148.

In the presence of multiple analyses directories, all search space masks were written out to the same file SearchSpaceMaskMap.nii.gz leading to a "permission error".

This PR updates the code to add a suffix to the search space file.

Link to relevant issues

incf-nidash/nidmresults-fsl#148 https://github.com/incf-nidash/nidmresults/pull/54

PR submission checklist

mih commented 5 years ago

I am very much in favor of a merge!