Open ChristianHinge opened 2 years ago
Since submitting this issue, I have learned a few things. For anyone else having similar trouble: several FSL commands automatically copy some of the input files (e.g. in_file) to the working directory of the current node (the node belonging to the fsl command). While doing this, nipype automatically changes the in_file parameter from the file you specified, to the copied version of said file. Upon completing the node (either fail or success), the copied file is deleted from the fsl Node directory. This is why I thought it failed "silently". While the node was running, the cmdline did in fact NOT fail as the transform_Warped.nii.gz
file existed.
I am still trying to figure out why the mask_file
of the execution outputs remains undefined
I have implemented a BET node in my workflow as I wish to use the binary brain mask for intensity normalization.
The warped_image from reg_mr_atlas is listed as follows in the report.rst for reg_mr_atlas:
However, when looking at the in_file in the report.rst for bet1, it is different:
This filepath for in_file is different from the one provided by reg_mr_atlas. Furthermore, the generated command strips of the most of the already incorrect in_file filepath, (making it even more incorrect). When running the command as is in a sepperate terminal using the specified working directory, I get an error since the file obviously does not exist. However, when run in the workflow, no error is thrown and no mask file is generated. Have I missed something very obvious?