10 KiB
CHANGELOG
v0.9.0 (2026-09-11)
Features
- Add function to get res from image number
(
e56c620)
v0.8.0 (2026-09-09)
Features
- Add context manager to suppress print from e.g. macros
(
f990ac4)
v0.7.4 (2026-09-08)
Bug Fixes
- Zoom model typing
(
8d273d0)
v0.7.3 (2026-09-08)
Bug Fixes
- Validate data collection parameters on assignment
(
c13bb5d)
v0.7.2 (2026-09-07)
Bug Fixes
- Transmission is a fraction of full beam everywhere
(
c095cb4)
DataCollectionParameters.transmission was the outlier: int percent 0-100 while BeamlineStatus / SimpleScanParameters / FluorescenceSpectrum already used a 0-1 fraction. Per the DAQ/DB consensus it is now a strict Annotated[float, Field(ge=0.0, le=1.0)] fraction (1.0 = full beam); percent-scale values in (1.0, 100.0] fail validation by design instead of being silently reinterpreted. RotationScanRequest / RasterGridRequest gain the same constraint (production data is already fraction on those paths).
Human-facing surfaces (user spreadsheets, AareDB public API) stay percent; their converters live in AareDB at the boundary.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01HiGzkkuiZXei894cnJfgSg
v0.7.1 (2026-09-03)
Bug Fixes
- Exclude jfjochgsunion from QA
(
907991f)
Refactoring
- Tidy up for gridscan analysis switching
(
f13edc3)
v0.7.0 (2026-09-03)
Bug Fixes
- Type checking in tests
(
a400ffc)
Code Style
- Ruff format and fix
(
113a388)
Features
- models: Ship the grid-scan decision to AareDB
(
626f1f0)
GridScanResult gains contour_cells -- the (nx, ny) cells of the chosen 50 % blob, so consumers can draw the decision's own footprint over the sample image without recomputing the map. New GridScanDecision wraps the result verbatim with provenance (algorithm, version, the Thresholds used) and rides on RasterPayloadModel.decision (optional -- DAQs that have not adopted it stay valid). jfjoch-client floor moves to 1.0.0rc166: the embedded ScanResult defines the field contract, and rc166 adds per-image ice + latt_count and rotation_bravais.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01HiGzkkuiZXei894cnJfgSg
v0.6.0 (2026-09-03)
Features
- Add Meitian's gridscan analysis util
(
9cad8ec)
v0.5.4 (2026-08-27)
Bug Fixes
- Revert to 0.75 low res spot and 0.25 background
(
28b29c1)
v0.5.3 (2026-08-27)
Bug Fixes
- Use total spots according to MW
(
eae49b8)
Chores
- Drop unused import
(
b1121ae)
v0.5.2 (2026-08-27)
Bug Fixes
- Supply max image with not enough spots
(
26d6810)
v0.5.1 (2026-08-21)
Bug Fixes
- Instantiation of beam centre model
(
8930f10)
v0.5.0 (2026-08-21)
Features
- Add beam centre from detector coords
(
2ff5216)
Testing
- Add logging tests
(
ebc3053)
v0.4.2 (2026-08-20)
Bug Fixes
- Round kev energy
(
b299247)
v0.4.1 (2026-08-19)
Bug Fixes
- Typo in log stream ID
(
a18d87a)
v0.4.0 (2026-08-18)
Features
- models: Fluorescence ingest contract shared with AareDB
(
064a1d5)
FluorescenceScanIngestModel wraps the existing FluorescenceSpectrumOutputModel with the sample it belongs to — the payload for AareDB's POST /dispatcher/protected_router/fluorescence/ ingest. FluorescenceScanIngestResponseModel returns the stored scan id plus the elements AareDB identified from the peaks, so the beamline GUI can display what was detected.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01F3xoBJBmqJJPLg475iK6cE
v0.3.1 (2026-08-17)
Bug Fixes
-
Remove duplicate handler in dev logging config (
1a64ea3) -
Simplify further (
2076123) -
Simplify log setup (
be5e971)
v0.3.0 (2026-08-07)
Bug Fixes
- Locations of some imports
(
e995b5b)
Chores
- Add dependencies
(
648298b)
Code Style
- Formatting and linting in affected files
(
7f1d29a)
Continuous Integration
- Add more linting steps
(
7f74144)
Features
- Move clean paths util from daq
(
1cd7aa5)
v0.2.2 (2026-08-03)
Bug Fixes
- Remove opencv pin
(
84836fd)
v0.2.1 (2026-07-31)
Bug Fixes
- Drop spots_indexed from no-crystal guard
(
2969af8)
Indexing was removed from the crystal score (w_indexed=0.00), so it must not act as a hard veto either: a crystal that diffracts but fails to index should still be targeted, not routed to grid centre. Guard now checks max spots_low_res only.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Code Style
- Ruff format
(
0dcfe15)
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
v0.2.0 (2026-07-27)
Bug Fixes
Code Style
- Ruff check fix
(
5c41290)
Features
- Use token for release wf on protected main
(
6139b42)
Testing
- Update tests to use instances
(
2399e0d)
v0.1.5 (2026-07-09)
Bug Fixes
- Remove baton warning log
(
49c4f12)
v0.1.4 (2026-07-09)
Bug Fixes
- Log config error location
(
2f012f4)
v0.1.3 (2026-07-08)
Bug Fixes
- Crash on bec init failure; beamline must be set explicitly
(
4ac9587)
Testing
- Update test for env var
(
3764c98)
v0.1.2 (2026-07-06)
Bug Fixes
- Build config to include yamls
(
164a6ba)
v0.1.1 (2026-07-06)
Bug Fixes
- Load beamline configs from correct dir
(
6b40d05)
v0.1.0 (2026-07-02)
Bug Fixes
Code Style
- Format to length 100
(
dc6218e)
Continuous Integration
-
Add test run (
40b12c1) -
Just run workflow on main pushes (
91166de) -
Move setup to action and add format ci step (
1b38dd5)
Features
- Add release workflow
(
b1e456b)
Refactoring
- Extract common code from aaredaq
(
3c27cbe)