Skip to content

feat: Beckman Coulter PharmSpec - add container id to the sample custom document - #1253

Open
slopez-b wants to merge 1 commit into
mainfrom
slopez/add-container-id-bechman-pharmspec
Open

feat: Beckman Coulter PharmSpec - add container id to the sample custom document#1253
slopez-b wants to merge 1 commit into
mainfrom
slopez/add-container-id-bechman-pharmspec

Conversation

@slopez-b

Copy link
Copy Markdown
Collaborator

No description provided.

@slopez-b slopez-b changed the title add container id to the beckman pharmspec adapter feat: Beckman Coulter PharmSpec - add container id to the sample custom document Aug 14, 2026
@slopez-b
slopez-b requested a lite review from Copilot August 14, 2026 20:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the Beckman Coulter PharmSpec parser’s sample-level custom information by including a container ID, and updates the expected JSON fixtures to reflect the new custom information document content under each sample document.

Changes:

  • Add container_identifier to the parsed header data model and propagate it into sample_custom_info.
  • Populate sample custom information with "container identifier" (when present) for each measurement/run.
  • Update PharmSpec golden JSON test fixtures to include the new sample custom information document content.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/allotropy/parsers/beckman_pharmspec/beckman_pharmspec_structure.py Parses “Container ID” into the header and emits it into the sample custom information document.
tests/parsers/beckman_pharmspec/testdata/hiac_example_6.json Updates expected output to include "container identifier" under the sample custom information document for each run.
tests/parsers/beckman_pharmspec/testdata/hiac_example_7.json Updates expected output to include "container identifier" under the sample custom information document for each run.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 119 to 121
sample_identifier=data[str, ("Probe", "Sample Name")],
container_identifier=data.get(str, "Container ID"),
dilution_factor_setting=data[float, "Dilution Factor"],
@slopez-b
slopez-b force-pushed the slopez/add-container-id-bechman-pharmspec branch from aab496e to 1ee07ad Compare August 14, 2026 20:21
@slopez-b
slopez-b marked this pull request as ready for review August 20, 2026 15:21
@slopez-b
slopez-b requested a review from a team as a code owner August 20, 2026 15:21
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.

3 participants