-
Notifications
You must be signed in to change notification settings - Fork 533
warp fields are not created without this change and the workflow fails silently #838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
if this is required then the connections to warping stage are incorrect - it uses the field file. we need to check the workfow then. |
The problem is that applywarp will not complain if it does not get a warp - On Mon, Apr 28, 2014 at 4:58 PM, Satrajit Ghosh notifications@github.comwrote:
|
i mean the |
so we should check the workflow to see what the outputs look like. |
Ah, can confirm that I've had to do this in my warp workflow too: https://github.com/mwaskom/lyman/blob/master/lyman/workflows/anatwarp.py#L97 |
I'm not sure whether another bug or not but I just wanted to point out that the fsl registration in the workflows is wrong as well: nipype/nipype/workflows/fmri/fsl/preprocess.py Line 1171 in b1b7825
They all use field and none of the warping is instigated. |
@thelxinoe - i believe it's a bug - since i originally wrote that bit, i will look into it tomorrow and fix it. |
To avoid such mistakes in the future maybe we should make "field" input of ApplyWarp mandatory and use ApplyXfm instead of ApplyWarp for linear only transformations? |
I fixed this, I'm using the workflow, just by turning on fieldcoeff_file = True and replacing field_file with fieldcoeff_file. I also noticed that there is a mistake at the beginning of the same workflow where the non-bet structural image is used for mean registration. This doesn't really work. nipype/nipype/workflows/fmri/fsl/preprocess.py Line 1143 in b1b7825
Should I submit them? |
Please do. Thank you for your contributions. We have found the same On Thu, May 1, 2014 at 12:29 PM, thelxinoe notifications@github.com wrote:
|
Okay, I noticed a couple of other faults I'll submit them in a bit. Thanks. |
Okay, I found a number of bugs with respects to FSL and the application of certain affine matrices. It seems they can only be applied with flirt and not applywarp or applyxfm4d. I'll rewrite tomorrow to reflect this. |
Thanks! On Thu, May 1, 2014 at 7:05 PM, thelxinoe notifications@github.com wrote:
|
any updates on this? |
I think the fix has been accepted?
|
closing this one. this fax has been accepted and a newer set of patches is now available #877 |
No description provided.