-
Notifications
You must be signed in to change notification settings - Fork 60
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
adding vtk legacy options to scil_convert_surface script #795
adding vtk legacy options to scil_convert_surface script #795
Conversation
…in MI-Brain and aligned with t1
Hello @ThoumyreStanislas, Thank you for updating ! There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2023-11-20 20:17:15 UTC |
Build Failed 💥 |
Build Failed 💥 |
I've corrected the code and moved the xform and flip_LPS functions to the scilpy/utils/util.py module. |
…onvert_surface_vtk
Build Failed 💥 |
Build Failed 💥 |
Build passed ! Good Job 🍻 ! |
Build Failed 💥 |
Build passed ! Good Job 🍻 ! |
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.
LGTM - Need some testing once fixed.
scilpy/surfaces/utils.py
Outdated
return polydata | ||
|
||
|
||
def extract_xform(filename): |
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.
At this point you should not deal with files but object.
Build passed ! Good Job 🍻 ! |
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.
Gooodddd !!!
I've modified the scil_convert_surface script so that surfaces created by freesurfer can be viewed in MI-Brain and aligned with T1. An updated version of trimeshpy is required for the script to work, but is not yet available.