-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Coreg fixes #9928
Coreg fixes #9928
Conversation
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.
thx @bloyl
does it full test what you adjusted? should we add a test of the Coregistration class using some CTF data?
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 don't think CI failures are related
Good enough to go from my end. we should not release without this fix.
thx heaps @bloyl
@@ -215,10 +220,23 @@ def _set_current_fiducial(self, fid): | |||
def _set_info_file(self, fname): | |||
if fname is None: | |||
return | |||
if not self._check_fif('info', fname): | |||
|
|||
# info file can be anything supported by read_raw |
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.
On main
it can actually be more than this -- it could be an evoked or epochs etc. -- really anything that stored an info
in a .fif
. This change makes it so that, for FIF, only the raw variants are supported. I'll push a change to fix this just based on a splitext
check
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.
Oh never mind, I misunderstood this code -- looks like you do handle fif
using a read-info
-like operation below!
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.
Thanks @bloyl !
Handle two issues I raised in #8833,
info['dig']
missing some types of dig pointsdig
objects.still needshasn't been released so no need.latest.inc