OpenwaterHealth / OpenwaterHealth/openlifu-python

Separate photoscan registrations from transducer-tracking results

Open
#483 1 comment 0 reactions 0 assignees View on GitHub

@peterhollender is already working on this.

Since Jul 14, 2026.

  • #478 by @peterhollender — open
Dominant language
Python
Stars
27
Forks
21
Avg merge
1d 20m
Merged PRs (30d)
6

Description

Transducer-tracking results currently embed a photoscan-to-volume transform and approval state, which duplicates registration data and cannot cleanly represent multiple registration attempts.

  • Add a PhotoscanRegistration model with a stable session-local ID.
  • Have tracking results refer to the selected registration by ID.
  • Migrate legacy session data with embedded transforms.
  • Store photoscan and photocollection membership explicitly on sessions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the session data and transducer-tracking result models that currently store the embedded photoscan-to-volume transform and approval state. Confirm how legacy session data is represented, then make completion mean multiple registration attempts are representable, tracking results reference a selected registration, legacy data migrates, and photoscan and photocollection membership is explicit.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.