Skip to content

RawFileInfo.label_headings never paired with seq_row.user_labels #42

Description

@Nathan-D-R

Found during the 2026-07-24 cross-repo parity sweep.

RawFileInfo::label_headings (raw_file_info.rs:101/110-114) decodes the 5 label-heading strings (typically "Study"/"Client"/"Laboratory"/"Company"/"Phone" per docs/docs/format/03-raw-file-info.md:12-16), but the field is never read anywhere else in the crate. Meanwhile the Python sample_info getter (opentfraw-py/src/lib.rs:209) exposes user_labels as a bare list of 5 values with no way to know which heading each corresponds to.

Pairing them (e.g. dict(zip(label_headings, user_labels))) is a small wire-up, same spirit as the already-closed #8/#13 metadata-exposure issues.

Effort: small wire-up.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions