Writer: drop /entry/sample/input_unit_cell
Build Packages / Create release (push) Successful in 9s
Build Packages / build:portable:windows-x86_64:cuda (push) Successful in 32m21s
Build Packages / build:jfjoch:rocky8:cuda-sls9 (push) Successful in 33m58s
Build Packages / build:portable:macos-arm64:nocuda (push) Successful in 5m26s
Build Packages / build:portable:linux-x86_64:cuda (push) Successful in 20m0s
Build Packages / build:rugnux:linux-aarch64:cuda (push) Successful in 9m33s
Build Packages / build:jfjoch:rocky8:nocuda (push) Successful in 29m20s
Build Packages / Build documentation (push) Successful in 54s
Build Packages / build:portable:linux-x86_64:nocuda (push) Successful in 15m54s
Build Packages / Generate python client (push) Successful in 51s
Build Packages / HDF5 consumer tests (DIALS, XDS) (push) Successful in 30m34s
Build Packages / build:jfjoch:ubuntu2204:nocuda (push) Successful in 23m35s
Build Packages / build:portable:windows-x86_64:nocuda (push) Successful in 27m31s
Build Packages / build:jfjoch:rocky9:nocuda (push) Successful in 30m23s
Build Packages / build:jfjoch:ubuntu2404:nocuda (push) Successful in 27m6s
Build Packages / build:jfjoch:rocky8:cuda (push) Successful in 34m21s
Build Packages / build:jfjoch:ubuntu2204:cuda (push) Successful in 25m48s
Build Packages / build:jfjoch:rocky9:cuda-sls9 (push) Successful in 36m24s
Build Packages / build:jfjoch:rocky9:cuda (push) Successful in 34m11s
Build Packages / build:jfjoch:ubuntu2404:cuda (push) Successful in 29m11s
Build Packages / Unit tests (push) Successful in 1h50m56s
Build Packages / Validation Battery (push) Successful in 44m43s

It was only ever written in the branch where unit_cell is the start message's
cell, so wherever it appeared it repeated unit_cell. Nothing in the tree reads
it - not the reader, the viewer, rugnux or the tools.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQsU5a8AJUdJPgWevAK
This commit is contained in:
leonarski_fandClaude Opus 5.5 committed 2026-11-11 10:07:14 +01:00
1 parent 2b284e11b1
commit 584777bfa2
3 files changed
+3 -10

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
### 1.0.0-rc.185
* jfjoch_broker: The master file records the unit cell given for the collection, not the mean of the per-image refined cells.
* jfjoch_broker: The master file records the unit cell given for the collection, not the mean of the per-image refined cells; the redundant `input_unit_cell` is no longer written.
### 1.0.0-rc.184
-1
View File
@@ -298,7 +298,6 @@ DIALS/dxtbx reads it (one panel per module).
| `temperature` | NXmx | K |
| `transformations/` (NXtransformations) | NXmx | the sample chain, written in mounting order; hard-linked as `/entry/sample/goniometer` |
| `unit_cell` | base | `[a, b, c, α, β, γ]` |
| `input_unit_cell` | | the cell the run was given (`-C`), where there was one, in the same layout |
| `unit_cell_esd` | | e.s.d.s of `unit_cell`, in its order `[σa, σb, σc, σα, σβ, σγ]` (Angstrom, degrees; zero for an angle the space group fixes); rotation runs analysed by rugnux, offline or in the broker |
| `space_group_number` | base | International Tables number |
| `space_group` | base | extended Hermann-Mauguin name, e.g. `P 43 21 2`, `R 3:H` — this is the field that carries the **setting**, and the one the reader takes the group from; the number alone always reads back as the reference setting |
+2 -8
View File
@@ -821,24 +821,18 @@ void NXmx::Sample(const StartMessage &start, const EndMessage &end) {
}
std::optional<UnitCell> unit_cell;
std::optional<UnitCell> input_unit_cell;
if (end.unit_cell)
unit_cell = end.unit_cell;
else if (end.rotation_lattice)
unit_cell = end.rotation_lattice->GetUnitCell();
else if (start.unit_cell) {
else if (start.unit_cell)
unit_cell = start.unit_cell;
input_unit_cell = start.unit_cell;
}
if (unit_cell)
SaveUnitCell(group, "unit_cell", unit_cell.value());
if (end.unit_cell_esd)
SaveUnitCell(group, "unit_cell_esd", end.unit_cell_esd.value());
if (input_unit_cell)
SaveUnitCell(group, "input_unit_cell", input_unit_cell.value());
if (end.rotation_lattice) {
group.SaveVector("ub_matrix",
end.rotation_lattice->GetUBMatrix(),