Skip to content

FileHeader.audit_end (acquisition end timestamp) decoded but completely unused #43

Description

@Nathan-D-R

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

FileHeader (header.rs:13) decodes a second AuditTag (audit_end) alongside audit_start; docs/docs/format/01-file-layout.md:136 documents audit_end.time as "Acquisition end time." audit_start feeds RawFile.created in the Python bindings (opentfraw-py/src/lib.rs:167) and to_msc_record's start_timestamp (mzml.rs:682, closed #24), but audit_end has no consumer anywhere - not in Python bindings, not in the schema conversion.

Exposing it to Python as a RawFile.ended-style attribute is a small wire-up. Feeding a run-duration/end-time into the shared msc::RunMetadata would need a new field added upstream in OpenMassSpecCore first (cross-repo, medium effort).

FileHeader.tag (the 1028-byte header tag, header.rs:14, documented as "usually empty") is similarly decoded-and-dead but low value since it's rarely populated - noted here rather than filed separately.

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