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
MRG: Make update_anat_landmarks() accept fiducials file #977
MRG: Make update_anat_landmarks() accept fiducials file #977
Conversation
0e49978
to
271013e
Compare
Codecov Report
@@ Coverage Diff @@
## main #977 +/- ##
==========================================
- Coverage 94.63% 94.62% -0.02%
==========================================
Files 25 25
Lines 3600 3626 +26
==========================================
+ Hits 3407 3431 +24
- Misses 193 195 +2
Continue to review full report at Codecov.
|
@agramfort Turns out we didn't have an issue with zooming … I just used |
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
@agramfort I've addressed all your comments, this should be good to merge once CI comes back green |
ok to merge this as is as it already fixes a practical problem but it seems the code only works if the landmarks passed as DigMontage are already in mri voxels. This should not be needed. We allow the same thing as what we allow with write_anat @hoechenberger if you want we can merge this and please create an issue for the next stuff to do |
Very interesting observation, I just looked at the docstring and implementation of The docstring suggests to use So this is at least a documentation bug / shortcoming. But it also means that I will look into this. |
@agramfort I've decided to document the inconsistency in #978 and will go ahead here and merge for now! |
Fixes #968
Merge checklist
Maintainer, please confirm the following before merging: