Skip to content

Comments

Add h5 bridging registration support for malecns#36

Merged
jefferis merged 2 commits intomasterfrom
feature/h5-registrations
Feb 13, 2026
Merged

Add h5 bridging registration support for malecns#36
jefferis merged 2 commits intomasterfrom
feature/h5-registrations

Conversation

@jefferis
Copy link
Contributor

Summary

  • Add mcns_download_xforms2() and mcns_register_xforms2() using nat.jrcbrains infrastructure
  • Enables bridging path: malecns (nm) → JRCFIB2022M (µm) → JRC2018M (µm) → JRC2018U (µm)
  • Downloads ~3 GB of h5 deformation fields from figshare (resumable, run once)
  • Registration must be activated once per session via mcns_register_xforms2()

Test plan

  • devtools::load_all() loads without errors
  • mcns_download_xforms2() downloads h5 files to nat.jrcbrains regfolder
  • mcns_register_xforms2() registers transforms and malecns alias
  • xform_brain(cbind(100000, 100000, 50000), sample='malecns', reference='JRC2018U') works
  • Re-running download skips already-present files

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Add mcns_download_xforms2() and mcns_register_xforms2() to download
and register Saalfeld lab h5 deformation fields via nat.jrcbrains.
This enables the bridging path:
malecns (nm) -> JRCFIB2022M (um) -> JRC2018M (um) -> JRC2018U (um)
* and specifying new bridging reg files to download
@jefferis jefferis merged commit 257dd82 into master Feb 13, 2026
2 checks passed
@jefferis jefferis deleted the feature/h5-registrations branch February 13, 2026 00:09
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.

1 participant