Skip to content
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

adds rules for composite warps from unfold and remove map to full grid #143

Merged
merged 4 commits into from
Dec 26, 2021

Conversation

akhanf
Copy link
Member

@akhanf akhanf commented Dec 22, 2021

  • moves all compose warps rules to separate rules file
  • adds compose warp rules, and update to target rules
    TODO:
  • replace hacky orientation fix (this will take some effort to dig into -- if things work as is I suggest dealing with it later..)
  • remove map to full grid (no longer needed is map_to_full_grid needed? #128)
  • testing on real data

- moves all compose warps rules to separate rules file
- adds compose warp rules, and update to target rules
- TODO: replace hacky orientation fix
- TODO: testing on real data
- was able to remove the *_autotop/ folder directly, and instead write the
warp files using the usual bids naming

- the warps to transform surfaces are now named with mode=surface
instead of mode=image for the itk warps..

- moved all warp creation and composition to the warps.smk rule file
@akhanf
Copy link
Member Author

akhanf commented Dec 22, 2021

@jordandekraker this should be ready for testing now..

akhanf and others added 2 commits December 23, 2021 08:14
- problem was with nifti reference space, not with orientation
- added a rule to create the ref space for warp files in native space
(similarly to what we already do for unfold space)
- moved ref vols to the seg_{modality} dir (were improperly sitting in the root
folder)
@akhanf akhanf marked this pull request as ready for review December 23, 2021 17:06
@akhanf
Copy link
Member Author

akhanf commented Dec 23, 2021

it still had some errors, but now it should be working.. I've confirmed that the unfold2native warps are correct now too (problem wasn't with orientation but just using the right nifti reference space when creating them)..

@akhanf akhanf added the enhancement New feature or request label Dec 23, 2021
Copy link
Collaborator

@jordandekraker jordandekraker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be working on my end!

@akhanf akhanf merged commit 1d2924c into master Dec 26, 2021
@akhanf akhanf deleted the warps-rmfullgrid branch December 26, 2021 17:10
This was referenced Dec 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants