Files
AareCommon/pyproject.toml
T
GotthardGandClaude Fable 5 626f1f0500
CI / lint (push) Skipped
CI / test (3.11) (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / lint (pull_request) Failing after 1m46s
CI / test (3.11) (pull_request) Skipped
CI / test (3.12) (pull_request) Skipped
CI / test (3.13) (pull_request) Skipped
feat(models): ship the grid-scan decision to AareDB
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
2026-09-03 11:09:25 +02:00

67 lines
1.3 KiB
TOML

[build-system]
requires = ["setuptools>=75.6.0"]
build-backend = "setuptools.build_meta"
[project]
name = "aarecommon"
version = "0.6.0"
description = "Common components (models, calculations) for Aare packages"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"pyyaml",
"jfjoch-client>=1.0.0rc166",
"pydantic",
"numpy",
"scipy",
"opencv-python-headless",
"pillow"
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-random-order",
"ruff",
"basedpyright"
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
aarecommon = [
"config/beamline_configs/*.yaml",
"config/beamline_configs/*.json",
]
[[tool.uv.index]]
name = "psi"
url = "https://gitea.psi.ch/api/packages/mx/pypi/simple"
[tool.pytest.ini_options]
testpaths = ["tests"]
norecursedirs = ["scripts", ".venv", "logs", "docs"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.black]
line-length = 100
skip-magic-trailing-comma = true
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3
split-on-trailing-comma=false
[tool.ruff]
line-length = 100
[tool.ruff.lint]
isort.split-on-trailing-comma=false
[tool.ruff.format]
skip-magic-trailing-comma = true