Repository navigation
Conversation
|
Hello! 👋 Thanks for opening your first pull request here! ❤️ We will try to get back to you soon. 🚴 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #6552
What does this implement/fix?
In the issue as it was said that, it should give a warning if distances are above 5mm
so the fix I added is :
built an independent helper function
_warn_bad_coregistrationwithlimit=0.005by default in the function and not calling it indig_mri_distancesandcompute_dig_mri_distancesin which I chose the median method to work on and also ran tests inmne/tests/test_surface.pywhich validates itAdditional information
Usage of Claude AI has been used in this for reviewing the code and understanding the issue in more detail also credits to @TzionaN as I have been taking it as an reference to solve this
Its a draft for now, so it isnt called anywhere, have asked on #6552 for the confirmation for calling it in the desired file