Skip to content

Conversation

@hoechenberger
Copy link
Member

@hoechenberger hoechenberger commented Jan 24, 2022

  • Use a DigMontage to construct the fiducial points before storing them on disk (instead of a custom list of dicts)
  • Introduce CoregistrationUI._save_mri_fiducials() method in preparation for introduction of a Save button
  • Fix transformation saving if file already exists

Part of the work to split #10237 into smaller chunks

cc @GuillaumeFavelier

- Use a DigMontage to construct the fiducial points before storing them
on disk (instead of a custom list of dicts)
- Fix transformation saving if file already exists
@hoechenberger hoechenberger marked this pull request as ready for review January 24, 2022 15:26
@hoechenberger hoechenberger changed the title In CoregistrationUI, Use DigMontage for storing fiducials, fix trans saving (extracted from #10237) MRG: In CoregistrationUI, use DigMontage for storing fiducials, fix trans saving (extracted from #10237) Jan 24, 2022
@hoechenberger hoechenberger changed the title MRG: In CoregistrationUI, use DigMontage for storing fiducials, fix trans saving (extracted from #10237) MRG: In CoregistrationUI, use DigMontage for storing fiducials, factor out fiducials saving into new method, fix trans saving (extracted from #10237) Jan 24, 2022
Copy link
Contributor

@GuillaumeFavelier GuillaumeFavelier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's solid refactoring and good use of make_dig_montage(), I'm okay with the changes @hoechenberger 👍

@larsoner larsoner merged commit 92908de into mne-tools:main Jan 24, 2022
@larsoner
Copy link
Member

Thanks @hoechenberger

@hoechenberger hoechenberger deleted the coreg-ui-digmontage branch January 24, 2022 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants