Skip to content

Conversation

@larsoner
Copy link
Member

If info['dev_head_t'] is None, we should preserve that rather than fake one by setting it as identity. It's cleaner conceptually and code-wise.

... but we almost certainly already have some fwd saved to disk with this info["dev_head_t"] = Transform("meg", "head") identity transformation, so let's tweak the problematic check in the simulation code, too.

Closes #13604

@larsoner larsoner changed the title BUG: Fix bug with dev_head_t setting BUG: Fix bug with fwd.info["dev_head_t"] setting Jan 28, 2026
@larsoner
Copy link
Member Author

@CarinaFo maybe a good one for you to review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use `fwd["info"]["dev_head_t"] when raw.info["dev_head_t"] is None?

1 participant