-
-
Notifications
You must be signed in to change notification settings - Fork 41
Overwrite transform #2190
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
Overwrite transform #2190
Conversation
shnizzedy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think
- we want C-PAC to do the right thing if ANTS + one or more options (overwrite the transforms with the ANTs fork, not with the other forks)
- if we handle the validation in the schema, we don't need to handle it in the NodeBlock
Co-authored-by: Jon Cluce <[email protected]>
Co-authored-by: Jon Cluce <[email protected]>
Co-authored-by: Jon Cluce <[email protected]>
Co-authored-by: Jon Cluce <[email protected]>
for more information, see https://pre-commit.ci
shnizzedy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, I'd just tweak the exception text a little.
Co-authored-by: Jon Cluce <[email protected]>
Co-authored-by: Jon Cluce <[email protected]>
sgiavasis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rigidity pains my soul but we need this.
This will definitely be reassessed with the final overhaul.
Fixes
Fixes
UnboundLocalError: local variable 'outputs' referenced before assignment errorby @tamsinrogers and @shnizzedy
Description
Checks for if
overwrite_transformswitch isonwhileregistration>usingis notANTSand reports user early to turn this switch off.In short, allows 'overwrite_transform
only when theregistration_toolisANTS`Technical details
Added conditional check in schema.py to report user that overwrite transform with same tool is not required and can turn that off.
Tests
Try pipeline config with FSL as the registration tool and turning on the
overwrite_transformwith FSL.Checklist
Update index.md).developbranch of the repository.Developer Certificate of Origin
Developer Certificate of Origin