From 92bdb5d0c938bbe42507e64fa209289289e22aef Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Mon, 7 Sep 2026 23:39:29 +0200 Subject: [PATCH] TEMPORARY STUB - DROP AT INTEGRATION: per-image protein and ice score on ScanResultElem Revert this commit, and only this commit, when the lane adding protein_score and ice_score properly lands. It exists solely so the preceding grid-scan commit compiles in isolation: AnalyzeGridScan reads both members, and they are being added to ScanResultElem by concurrent work that computes and serialises them through the whole analysis -> message -> CBOR -> HDF5 -> API chain. Nothing here computes, fills, serialises or reads back either field. They are declared and left empty, so every consumer sees nullopt and the grid scan finds nothing until the real producer arrives. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01EFEJG6WBQv8th4UJFNe53N --- common/ScanResult.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/ScanResult.h b/common/ScanResult.h index 92a409bdc..c695b714b 100644 --- a/common/ScanResult.h +++ b/common/ScanResult.h @@ -44,6 +44,8 @@ struct ScanResultElem { std::optional image_scale_factor; std::optional image_scale_cc; std::optional ice_ring_score; + std::optional protein_score; + std::optional ice_score; }; struct ScanResult {