v1.0.0-rc.189 #100

Merged
leonarski_f merged 24 commits from rc189-5 into main 2026-11-25 08:39:18 +01:00
24 Commits
Author SHA1 Message Date
leonarski_fandClaude Opus 5.5 32acd07cb7 1.0.0-rc.189: changelog for the rc189-5 content
Build Packages / Create release (push) Successful in 9s
Build Packages / Build documentation (push) Successful in 49s
Build Packages / build:portable:macos-arm64:nocuda (push) Successful in 4m56s
Build Packages / build:rugnux:linux-aarch64:cuda (push) Successful in 12m17s
Build Packages / build:portable:linux-x86_64:nocuda (push) Successful in 17m25s
Build Packages / build:portable:linux-x86_64:cuda (push) Successful in 23m36s
Build Packages / build:portable:windows-x86_64:nocuda (push) Successful in 23m43s
Build Packages / build:portable:windows-x86_64:cuda (push) Successful in 27m43s
Build Packages / build:jfjoch:ubuntu2204:nocuda (push) Successful in 27m55s
Build Packages / HDF5 consumer tests (DIALS, XDS) (push) Successful in 31m14s
Build Packages / build:jfjoch:rocky8:nocuda (push) Successful in 33m51s
Build Packages / build:jfjoch:rocky9:nocuda (push) Successful in 35m7s
Build Packages / build:jfjoch:ubuntu2404:nocuda (push) Successful in 31m46s
Build Packages / Generate python client (push) Successful in 1m21s
Build Packages / build:jfjoch:rocky8:cuda-sls9 (push) Successful in 35m59s
Build Packages / build:jfjoch:rocky9:cuda-sls9 (push) Successful in 38m3s
Build Packages / build:jfjoch:rocky8:cuda (push) Successful in 33m29s
Build Packages / build:jfjoch:ubuntu2204:cuda (push) Successful in 28m21s
Build Packages / Unit tests (push) Successful in 1h5m27s
Build Packages / build:jfjoch:rocky9:cuda (push) Successful in 36m32s
Build Packages / build:jfjoch:ubuntu2404:cuda (push) Successful in 32m31s
Build Packages / Validation Battery (push) Successful in 33m25s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
2026-11-24 17:26:10 +01:00
leonarski_fandClaude Opus 5.5 6aea60ad16 docs/THIRD_PARTY_NOTICES.md regenerated from the root notices (dxtbx row and note)
Written with update_version.sh's mirroring step; the root file gained the dxtbx entry with the
SMV/sweep reader commit, which did not regenerate the docs copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
2026-11-24 17:25:57 +01:00
leonarski_f c20b8633d7 Joint sweeps: a doubtful sweep is put on the merge's scale shell by shell
The held-out test that decides a doubtful sweep (MeasureHeldOutGains) brought it onto the
reference sweep's scale by a straight line through the shells' log scale ratios in 1/d^2 - a scale
and a B factor - and then charged whatever shape that line could not follow to the sweep's
intensities. A sweep's own scaling can leave such a shape: measured, one sweep of a four-sweep crystal
came out 15 % high against the line at low resolution and 10 % at high after a change of its distance
of 0.01 mm, and the test read it as raising the held-out residual by 1.6 % +- 0.1 % - a different
crystal - where the same sweep a run earlier had read +0.05 %, and it was left out. Its intensities
correlated with the merge as well as before (isomorphism ratio 0.975 against 0.969).

The scale is now taken per shell of equal count and interpolated linearly in 1/d^2 between them,
held flat past the outer two, and the doubtful sweep is put on the scale of the merge it is compared
with (the reference and the sweeps already joined), not the reference's alone. A scale per shell takes
out no difference between the reflections of one shell, which is what another crystal's intensities
have. That sweep now reads +0.45 % +- 0.06 % (per-shell on the reference's scale alone: +1.16 % +-
0.09 %, two errors from the bar). Where no sweep has joined yet the merge is the reference and nothing
changes; over the 15 multisweep sets and three private ones every other doubtful sweep reads as
before and every join decision is unchanged. New unit test: the same crystal on a scale that rises
15 % towards both ends of the resolution range is no longer read as raising the residual (+30 %
before); the non-isomorphous doubtful sweep of the existing test is still left out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQpv3w9JdZswRqKUW2H
(cherry picked from commit 03eb81bf21)
2026-11-24 17:25:37 +01:00
leonarski_f 170864012e Space group: a screw row that could not have shown the screw leaves it undetermined
A screw candidate refused for want of evidence was named as an undetermined alternative only where
its rows could not reach the claim bar even at the statistic's floor (1e-3 of the row per
reflection) - in practice a row of one absence - and only where the winner claims no screw at all.
A predicted-absent reflection that is truly extinct does not read at that floor; it reads its
measurement noise. So two kinds of row decided a screw they could not see:
 - a short, weakly measured row: six h00 beside a control row itself at <I/sigma> 2-8 (a simulated
   P4212 crystal) read 6.2 nats against the bar of 8, and P422 was written with no alternative,
   although six extinct reflections at that noise could not have reached the bar either;
 - a row a pseudo-translation runs along: a P21212 crystal with tNCS (1/2,0,1/2) holds its odd h00
   at 0.07 of the even ones whatever the screw, the de-modulated noise reads as presence, and
   P2221 was written with SPACE_GROUP_ALTERNATIVES= NONE.

Each screw zone now carries its reach: the evidence it would show were every predicted-absent
reflection extinct and read at its own sigma (E max(0, N(0, sigma)) = sigma / sqrt(2 pi), on the
E^2 scale and divided by the pseudo-translation's modulation like the evidence). A candidate that
adds screws to the winner's - same centring, the winner's own zones unchanged, no violation - and
whose added rows cannot reach the bar is reported as before: the screw UNDETERMINED, the group
listed in SPACE_GROUP_ALTERNATIVES. The written group is unchanged.

Simulated: the P4212 crystal P422 -> P422 with P4212 listed (scored correct), the tNCS crystal
P2221 -> P2221 with P22121 listed (correct); every other kept case unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit b38a8da5cc)
2026-11-24 17:25:37 +01:00
leonarski_f 8c2a54d83a Space group: equal-order point groups are ordered by operator agreement before screw evidence
Two candidates of the same order were ranked by the screw absences of their own two-folds first and
by their weakest operator-class CC only then. A screw is a property of the space group inside a
point group; its absences cannot say which point group is right, yet they outranked the operator
agreement. Where a refused 422 fell back to 4 or 222 that handed 222 the tie whenever its two-folds
carried axial absences, which a 4-fold never counts: a simulated P4_3 crystal whose NCS copy sits
3 deg off a two-fold (4-fold H 0.075, pseudo two-folds 0.14) was written P2_12_12_1, and a P4_1
crystal twinned at alpha 0.45 by a two-fold P2_12_12. The tie now goes to the smaller disagreement H
of the group's worst-agreeing operator, and the screw evidence only breaks an exact tie. H and not
the CC: the CC of an operator with few pairs is read on whatever corner of reciprocal space they fall
in - ranked by CC, a monoclinic battery crystal (6p8j) took its pseudo two-fold (CC 0.90 on 2142
pairs, H 0.18) over its real one (CC 0.86 on 56583, H 0.16), and the twin-immune zone then promoted
it to 222.

A promotion's H ratio is also judged against every subgroup one order below it, the a- and c-unique
two-folds included. Those rungs are only offered by the widened enumeration and were left out as
parents, so a 222 pooling one real two-fold with two false ones was normalised against a false
one - the P4_3 crystal above read H ratio 0.73 against the pseudo two-fold on b and 1.90 against
its real two-fold on c. They still do not set the reference chi^2. Over the rotation battery's
orthorhombic merges (80 sets adopting 222, operator tables of the rc189-2 cycle) the largest ratio
against the worst-agreeing two-fold is 1.71, under the bound of 1.85.

Simulated cases (kept images, rugnux re-run): the alpha 0.45 twin P2_12_12 -> P4_1 (correct); the
P4_3 + 3 deg copy P2_12_12_1 -> P4_12_12 - 4 is now the fallback of the refused 422 and the
twin-immune zone then adopts 422 as it does on the other near-exact pseudo-symmetries (warned as
SYMMETRY_AMBIGUITY, the P4_1 merge written beside it); controls unchanged. Holton's 100 15-frame
wedges: point-group classes unchanged (41 under / 36 correct / 13 over; checked with the CC order,
which moved one under-called wedge's screw). Battery: the 17 sets whose promotion was refused plus 19
others with a fallback or doubled-cell decision (rc189-2 cycle as baseline, run with items 1-5):
no space group changes from this.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit a3da74b4f4)
2026-11-24 17:25:37 +01:00
leonarski_f 95d0c90533 Space group: warn where a refused promotion was adopted on the twin-immune zone alone
A promotion refused by a gate of the merge (operator disagreement H against the parent's, the
added operators' R, their spread, the L-test under merge) is adopted where the twin-immune zone of
the added operators reads centric. The zone rules out a twin law, but it does not rule out a
pseudo-symmetry close to exact - NCS copies a degree or two off the added operator leave the zone
just as centric - and the report said the opposite ("acentric if they are ... a pseudo-symmetry").

Diagnosed on the simulation: every corpus over-call that went through this path is such a
pseudo-symmetry - copies 1.5 and 3 deg off a 2-fold (P31 -> P3121: H 2.50x and 2.76x the parent's,
zone +135 and +68 nats), a P23 crystal written P432 (H 2.13x, +175) and a C2 written I222 (operator
spread, +92) - while on the battery the same path keeps one correct P212121 (H 2.68x from
systematic error the P1 scaling leaves between symmetry mates, zone +143; its added operators read
H 0.04 against 0.03 once scaled in the higher group, against 0.17 vs 0.10 for the 1.5 deg copies).
None of the numbers the decision reads separates the two, so the decision is not changed; the run
now says where a group rests on the zone alone: a SYMMETRY_AMBIGUITY warning naming the lower group
to try if the structure does not refine, and the zone's prose corrected.

Corpus over-calls warned 0 -> 3 of 6 in the corpus runs so far, 0 -> 4 of 5 in the re-run working
subset (copies 6 deg off too). The rest - copies 0.3 deg off, and one deposition whose added
operators pass every gate at H 1.70x - read like real symmetry on every statistic: undecided.
Battery subset: 2 sets gain the warning (the P212121 above and one small-molecule crystal promoted
after an L-test refusal); no verdict, space group or statistic changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit 32dbc98bb1)
2026-11-24 17:25:37 +01:00
leonarski_f b42f7c5227 Report: SUPERCELL_POSSIBLE no longer asks the class's mean I/sigma
The flag needed the half-integer class to read <I/sigma> >= 0.5 per reflection besides a rocking
part of 2% three standard errors clear. On a weak sweep that hid classes the run measured clearly:
on simulated crystals whose true cell is the doubled one and whose run answered in the half cell,
classes rocking at 3.8 +- 0.2 % to 9.0 +- 0.5 % of the lattice (class <I/sigma> 0.10-0.46) were
reported as "no indication", and three more whose class stands clear of the six empty ones (the
test that has the doubled cell merged) at 0.3-1.2 % went unmentioned. The flag now fires on either
piece of evidence the run already holds: the significant rocking part, or a class standing clear
of its null.

Triage against the simulation truth (corpus runs so far, flags re-read from their own evidence;
two cases re-run): supercell flag owed 10, raised 1 -> 8, false alarms 0 -> 0 over 45 cases with no
superstructure (the f0 controls among them). The two still missed carry 0.5-1 % classes the probe
does not measure. Holton wedges: unchanged (8 flags, all from the rocking part, as before).
Battery subset: 12 more sets flagged (sub-cell depositions with a significant rocking class -
the flag says the doubled cell is in the data, not that it is the cell to refine in); no verdict,
space group or statistic changes. Whether such a cell should be ADOPTED is not changed here: the
probe's shape of the class (0.016 -> 0.21 of the lattice by 3.7 A on a 12 % simulated case) is
the same as on battery sets deposited in the half cell, so the cell decision stays as it was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit 53d338105a)
2026-11-24 17:25:37 +01:00
leonarski_f 0ce9e3df42 Beam centre: carry the measured centre to the merge where the two centres index unrelated cells
The second first pass indexes the file's centre and the measured one. Where the two disagree about
the lattice, the decision only ever looked past the file's centre for integer volume factors 2-4
(an axis harmonic); any other pair kept the file's centre and its cell. A centre tens of pixels out
does not double an axis but smears the reciprocal-space cloud into an unrelated cell: on 100
simulated 15-image wedges whose header centre is 34 px off, the measured centre indexed the true
cell on 15/15 frames, the file's an unrelated one (0.92-9.9x the volume, rarely an integer
multiple), and 45 runs kept the file's centre. Such a pair is now carried to the merge, as the
harmonic pair is when the pooled spots do not settle it, and the two arms are judged there.

Where the file's centre carried the measured one forward and then failed before it merged (13 of
the wedges, "nothing to merge"), the run aborted without ever trying the hypothesis it carried.
The measured arm now runs then, and its centre is adopted where it merges; the run fails only
where both arms do.

Wedges, bare (no beam flags): true cell 44 -> 91 of 100, failures 13 -> 2, final beam centre
within 5 px of the truth 37 -> 85; point group under/correct/over/wrong-cell/fail 24/12/7/44/13
-> 41/36/13/8/2, the same as runs given the correct centre (41/38/12/7/2). Mean wall time
31 -> 20 s. Battery subset (31 open/inhouse sets incl. every set whose two centres disagreed,
plus 3 multisweep rows): no verdict, space group or merge statistic changed; the only multisweep
sweep with an unrelated pair (a swung detector, its measured centre 1700 px out) fails at both
centres as it did at one. Wall time unchanged on a back-to-back check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit 5acaf47419)
2026-11-24 17:25:37 +01:00
leonarski_f b4ab518590 Stills beam centre: walk the grid from every candidate, and on while it moves
The count of spots on the lattice, which decides the stills beam centre, has
local maxima of its own about a centre 15-25 px off: a nearly cubic cell
indexes a few frames on a permuted lattice from there. The coarse grid
(3 px, +-12 px) was walked once about the candidate that won the
file/background/capture comparison, on margins the capture itself calls
flat, so a wrong winner's walk ended on such a maximum (a few hundred spots)
while the right centre, two steps past the rim, put thousands there. On a
run of 1500-3000 frames the result was a centre 18 px off, a quarter of the
frames indexed and a merge of CC1/2 0.01; the live pre-pass runs the same
code on its first 1000 frames.

The coarse grid is now walked about every candidate - the centre decided,
the file's, the background walk's and the capture's - then again about the
best for as long as it moves, then the fine step about where it settled.
The objective and the 1/0.9 decision against the centre decided stay. A
run whose centre was already right walks the same points first and takes
the same decision; the extra seeds cost a few seconds of indexing on the 32
strongest sample frames.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit 1c010a7eedb2d7ad5e9d0a77d93d5819f486052b)
(cherry picked from commit 8b76680f9d)
2026-11-24 17:25:36 +01:00
leonarski_f db1581856a Report: BEAM_CENTRE_OFF on the background alone only where no lattice refined the centre
The background-only branch of the beam-centre warning was gated on the
absence of rotation post-refinement, with stills taken as "a run that
refined nothing". Stills refine the centre - the geometry trial on the
sample and the stills geometry fit - so the warning fired on the
background's word against a refined centre that agreed with the file's to a
pixel or three: on 5 of 12 serial sets, one of them claiming the file 355 px
off where the isotropy fit had landed in a corner between detector
quadrants. The gate now also asks that the stills geometry fit used no
frames; the first branch (refined centre vs file) already covers a stills
run whose file is wrong.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit 33282c2e0e37ddc6e2df3f3a9d1f074992ece161)
(cherry picked from commit 84e1ed78b4)
2026-11-24 17:25:36 +01:00
leonarski_f 05757e052a Log "not measured" for an unmeasured strong-reflection ISa asymptote
The error-model log printed "strong-reflection asymptote 0.0" where the
asymptote was not measured at all (fewer than one tier of strong groups
with enough observations, or the minimum-b guard). Zero is the "not
measured" value, so the log now says so. Log only: the reported ISa and
everything else are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQpv3w9JdZswRqKUW2H
(cherry picked from commit d95627d2cb)
2026-11-24 17:25:36 +01:00
leonarski_f 88257906fd Live stills: count a frame once it has its slot; cancel test waits for its frames
JFJochReceiverRugnux_Stills_CancelDuringRun failed once in CI (images_sent 3 vs
given 4) after passing on the same code three times. In the test's four-slot
buffer the last frame given could still be waiting for a hold slot when the
cancel came. The cancel ends that wait and the frame is dropped, as one arriving
after the cancel would be, but it had already been counted as collected, so
collected and sent disagreed.

The frame is now counted only once it has its slot. Every frame counted is then
written, and collected matches sent. The test cancels once every frame given has
been analysed, which takes the race out of it.

Passed 10 of 10 runs; JFJochReceiverRugnux*, *GPUStills*, [StillsGPUAnalysis],
[JFJochReceiver] and JFJochIntegrationTest_* pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit 16e8dcd0657f39e5776b134c68413bdbce8b37da)
(cherry picked from commit ec5c6cd6f1)
2026-11-24 17:25:36 +01:00
leonarski_f 3525d0f1fa Licence notices for the GEMMI-derived refinement code
Seven files in image_analysis/structure_refinement/ follow GEMMI source
(levmar.hpp, scaling.hpp, grid.hpp, formfact.hpp, solmask.hpp,
fourier.hpp) but were tagged GPL-3.0-only only. They now carry the same
header as ModelScaling.cpp (GEMMI file URL, (c) Global Phasing Ltd.,
MPL-2.0; SPDX GPL-3.0-only AND MPL-2.0) and are listed in the GEMMI
row of THIRD_PARTY_NOTICES.md: ModelScaleGPU.cu, ModelGrid.cpp,
ModelFFT.cpp, ModelStructureFactorsGPU.cu, ModelDensityGPU.cu,
RefinementGPU.cu, RigidBodyGPU.cu.

GEMMI's unsafe_expapprox() is based on SIMD-math-prims' expapprox()
(MIT, Jacques-Henri Jourdan); its constants are in four of our files.
Add a notices row, licenses/simd-math-prims.txt (hand-kept, listed in
COLLECT.sh) and MIT in those files' SPDX lines. The vendored gemmi_gph
row now says it is locally modified, as the ported code notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit 898505cb1d4687445cb1f8012139bb10e26838d3)
(cherry picked from commit 19eaa25b77)
2026-11-24 17:25:36 +01:00
leonarski_f 9bfc376e93 Credit and notice for the frontend's virtual trackball
cootTrackball.ts (via AareDB) follows Coot's trackball, which is SGI's
trackball.c (Gavin Bell et al.) with Coot's changes under GPL-3.0-or-later.
The SGI notice asks for its copyright and permission notice in all copies;
the file only named its origin.

- cootTrackball.ts: SGI copyright and permission notice, Coot origin and
  licence, SPDX GPL-3.0-only AND GPL-3.0-or-later AND
  LicenseRef-SGI-trackball, and a one-line credit to Chen, Mountford &
  Sellen (1988), the paper the trackball code cites.
- licenses/sgi-trackball.txt: the notice verbatim from Coot's
  src/graphics-info-trackball.cc (hand-kept, listed in COLLECT.sh).
- THIRD_PARTY_NOTICES.md: row for the adapted file.
- ACKNOWLEDGEMENT.md: the trackball sentence names Coot's licence, the
  original SGI authors and the 1988 paper (DOI verified on Crossref).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit b02772c2182a80a25f648ccb19e488bc7113c604)
(cherry picked from commit d729b7c6d4)
2026-11-24 17:25:23 +01:00
leonarski_fandClaude Opus 5.5 7533031a8a 1.0.0-rc.189: changelog - PCIe driver RS-FEC and link status
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
2026-11-24 16:23:01 +01:00
jungfrauandClaude Opus 5.5 59b9be5de1 PCIe driver: enable RS-FEC correction; expose CMAC RX and RS-FEC status in sysfs
The driver turned RS-FEC on (0x107C) but never wrote
RSFEC_CONFIG_INDICATION_CORRECTION (0x1000), whose correction and
indication bits default to off, so the CMAC framed RS-FEC without
correcting errors. Write 0x3 there before enabling RS-FEC.

Add read-only sysfs attributes cmac_rx_status (STAT_RX_STATUS, 0x0204) and
cmac_rsfec_status (STAT_RSFEC_STATUS, 0x1004), so the state of a link that
does not come up (e.g. a switch port left in auto-negotiation) can be read
without a register tool. Both return -ENODEV on non-100G variants.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-24 16:20:00 +01:00
jungfrauandClaude Opus 5.5 e88ae4a3ac SMV/sweep readers: an extra file at a sweep's end, d*TREK TYPE= and translation names
Build Packages / Create release (push) Successful in 9s
Build Packages / Build documentation (push) Successful in 49s
Build Packages / build:portable:macos-arm64:nocuda (push) Successful in 4m57s
Build Packages / build:rugnux:linux-aarch64:cuda (push) Successful in 11m40s
Build Packages / build:portable:linux-x86_64:nocuda (push) Successful in 17m0s
Build Packages / build:portable:linux-x86_64:cuda (push) Successful in 22m49s
Build Packages / build:portable:windows-x86_64:nocuda (push) Successful in 23m49s
Build Packages / build:portable:windows-x86_64:cuda (push) Successful in 27m44s
Build Packages / build:jfjoch:ubuntu2204:nocuda (push) Successful in 28m49s
Build Packages / HDF5 consumer tests (DIALS, XDS) (push) Successful in 33m20s
Build Packages / build:jfjoch:rocky8:nocuda (push) Successful in 33m31s
Build Packages / build:jfjoch:ubuntu2204:cuda (push) Failing after 13s
Build Packages / build:jfjoch:rocky9:nocuda (push) Successful in 34m35s
Build Packages / Generate python client (push) Successful in 58s
Build Packages / build:jfjoch:ubuntu2404:nocuda (push) Successful in 27m47s
Build Packages / build:jfjoch:rocky8:cuda-sls9 (push) Successful in 35m23s
Build Packages / build:jfjoch:rocky9:cuda-sls9 (push) Successful in 36m32s
Build Packages / build:jfjoch:rocky8:cuda (push) Successful in 29m53s
Build Packages / Unit tests (push) Failing after 1h1m50s
Build Packages / build:jfjoch:ubuntu2404:cuda (push) Successful in 28m19s
Build Packages / build:jfjoch:rocky9:cuda (push) Successful in 32m19s
Build Packages / Validation Battery (push) Successful in 33m38s
A one-file-per-image sweep whose first or last file states the same start
angle as its neighbour is no longer refused as two concatenated sweeps.
Some ADSC and marCCD beamlines write such an extra image as a collection
starts or stops (an exposure cut short while the spindle stood); that one
file is now left out with a warning. A repeated angle anywhere else is
still refused.

d*TREK headers: the pixel type is read from Data_type= where present.
TYPE= in these headers can name the kind of experiment ("mad"), which was
refused as a non-16-bit image. The detector distance is the translation
whose axis runs along the beam, whatever it is called ("Distance" on a
Saturn, "TransZ/Dist" on RDI's CMOS detector), as dxtbx's FormatSMVCMOS1
treats translations.

Attribution: the d*TREK path follows dxtbx's FormatSMVRigaku,
FormatSMVRigakuSaturn and FormatSMVCMOS1 source (no code copied). Its
BSD-3-Clause licence is now in licenses/dxtbx.txt and listed in
THIRD_PARTY_NOTICES.md, and ACKNOWLEDGEMENT.md no longer says no dxtbx
code was used.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQpY8559mRAQHJGK7qJ
2026-11-24 14:33:46 +01:00
leonarski_fandClaude Opus 5.5 5f0fd040cb 1.0.0-rc.189: changelog
Build Packages / Create release (push) Successful in 8s
Build Packages / Build documentation (push) Successful in 47s
Build Packages / build:portable:macos-arm64:nocuda (push) Successful in 5m7s
Build Packages / build:rugnux:linux-aarch64:cuda (push) Successful in 11m2s
Build Packages / build:portable:linux-x86_64:nocuda (push) Successful in 16m3s
Build Packages / build:portable:linux-x86_64:cuda (push) Successful in 22m16s
Build Packages / build:portable:windows-x86_64:nocuda (push) Successful in 23m51s
Build Packages / build:jfjoch:ubuntu2204:nocuda (push) Successful in 27m50s
Build Packages / build:portable:windows-x86_64:cuda (push) Successful in 28m15s
Build Packages / HDF5 consumer tests (DIALS, XDS) (push) Successful in 29m21s
Build Packages / build:jfjoch:rocky8:nocuda (push) Successful in 32m34s
Build Packages / build:jfjoch:rocky9:nocuda (push) Successful in 33m58s
Build Packages / build:jfjoch:ubuntu2404:nocuda (push) Successful in 28m23s
Build Packages / Generate python client (push) Successful in 2m1s
Build Packages / build:jfjoch:rocky8:cuda-sls9 (push) Successful in 35m54s
Build Packages / build:jfjoch:ubuntu2204:cuda (push) Successful in 26m16s
Build Packages / build:jfjoch:rocky9:cuda-sls9 (push) Successful in 37m0s
Build Packages / build:jfjoch:rocky8:cuda (push) Successful in 32m8s
Build Packages / Unit tests (push) Successful in 1h2m23s
Build Packages / build:jfjoch:ubuntu2404:cuda (push) Successful in 30m21s
Build Packages / build:jfjoch:rocky9:cuda (push) Successful in 35m48s
Build Packages / Validation Battery (push) Successful in 34m37s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
2026-11-24 08:43:34 +01:00
leonarski_f 717d841c7d 1.0.0-rc.189: VERSION and the version strings update_version.sh writes
Regenerated with update_version.sh: OpenAPI version, generated C++ model headers, python-client
docs, frontend version, docs/conf.py, Redoc HTML, FPGA and PCIe driver version strings, and
docs/THIRD_PARTY_NOTICES.md (mirrors the root notices: GEMMI-derived refinement files, SGI
trackball, SIMD-math-prims).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit d44edd64f0)
2026-11-24 08:43:12 +01:00
leonarski_f 3c750767c9 JUNGFRAU: configurable timing master module
With module_sync on, the module made timing master was always module 0.
The detector entry of the broker settings now takes master_module (default
0, must be below the module count; checked in DetectorSetup::MasterModule),
and the SLS wrapper makes that module master. Deactivate now clears the
master flag on all modules instead of only on module 0, so it no longer
depends on which module was master.

Regenerated from jfjoch_api.yaml: C++ server model (broker/gen), frontend
client, Redoc page and the python-client Detector doc page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit e46242de37)
2026-11-24 08:43:11 +01:00
leonarski_f 6cfebfd2d0 Stills merge: a reflection's resolution is the reference cell's, not the image's
Stills each carry their own cell (and an XFEL pulse its own wavelength), merged while it is within the
indexing tolerance of the reference cell (5 % by default). The merge cut each observation at the
high-resolution limit by the d of the image that measured it, and gave the merged reflection the d of its
first observation, while the completeness counted the possible reflections in the reference cell. A
reflection just past the limit was then merged from whichever image's cell put it inside, and the
outermost shell counted more reflections than it could hold: measured, 204 % and 147 % in the last shell
of a four-run --mode scale merge at multiplicities in the thousands, with a CC1/2 in those shells that
meant nothing. The inner shells read 99-101 % from the same shuffling across shell boundaries.

The merge now takes a reflection's d in the reference cell, where there is one, for the resolution cut, the
d it reports and the shell it is counted in - the cell the possible reflections are counted in - so a
reflection has one d whichever image measured it and no shell can exceed complete. Without a reference
cell nothing changes. New test: images on cells 2 % either side of the reference, every reflection to past
the limit; it fails before (reflections past the limit, shells over 100 %) and passes now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit 5172955cb4)
2026-11-24 08:43:11 +01:00
leonarski_f 601594de7b SMV: read an ADSC header with a d*TREK block appended as ADSC
Some ADSC Quantum beamlines write a complete ADSC header (TYPE=, PIXEL_SIZE,
DISTANCE, BEAM_CENTER_X/Y, per-frame OSC_START) followed by a d*TREK block.
Any DETECTOR_NAMES sent the file down the d*TREK path, which either refused it
(translation names it does not know) or read its vectors as a mirrored image:
the sweep then indexes at the right cell with the hand inverted - invisible to
R-free, but the anomalous map at the heavy-atom sites comes out negative.

The d*TREK path is now taken only for Rigaku's own headers, which carry
Data_type= in place of ADSC's TYPE=, as dxtbx decides it. On the affected sets
the anomalous peaks at the Se sites turn positive and R-free is unchanged;
d*TREK files with Data_type= are read as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit 06aad37a7f)
2026-11-24 08:43:11 +01:00
leonarski_f a63676247e NXmx reader: derive missing beam centre, distance and pixel size from the module geometry; accept micron units
NXmx makes beam_center_x/y, distance and x_pixel_size optional - the detector
module's geometry places the detector. A file that states none of them (as
DIALS dxtbx.any2nexus writes it) was refused. Now, when absent, they are taken
from the first NXdetector_module (found by its fast_pixel_direction, whatever
the group is called): pixel (0, 0) is the pixel direction's offset plus the
translations along its depends_on chain, the beam centre is where +z meets the
module plane (in image pixels, data_origin added), the distance is the
perpendicular distance to that plane, the pixel size the fast step. Rotations
are left to the existing chain reader, so a tilted file round-trips exactly.

Length units are parsed in one place (NXmxLengthUnit_m), used by the master
reader and the module reader alike, and now accept m/mm/um, the micro sign and
Greek mu, micron(s) and spelled-out forms; sensor_thickness in "microns" was
refused before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit a1926aea754adb6ce6c3455f54ccaddd61fbb0de)
(cherry picked from commit 9049ad66ec)
2026-11-24 08:43:11 +01:00
leonarski_f 59a2f46d15 Merged MTZ: multiplicity columns N, N(+) and N(-)
The merged MTZ carries the number of observations merged into each value: N (type I) after
SIGIMEAN, N(+)/N(-) after SIGI(-) where the anomalous columns are written - the labels and the
integer type dials.merge gives them. The merged reflection carries the counts from the half-set
accumulators (rotation and on-the-fly merges) and per hand from the anomalous table; the two places
that swap the Bijvoet hands on a reindexing swap the counts with them. Centrics, which have no
anomalous split, carry N(+) = N(-) = 0. Every existing column keeps its label, type and value. The
synthetic merged generator carries the multiplicity it simulates and the writer tests check the new
columns; the MTZ column lists in the docs are updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit 01a24d7b7b37f6263a950cc56af069448922df48)
(cherry picked from commit 441f020a2b)
2026-11-24 08:43:11 +01:00