DAQ: Adding run_number into SampleShortInfo model
Build and Publish / build (push) Successful in 23s

This commit is contained in:
GotthardG
2025-12-10 10:28:01 +01:00
parent 5f71f7730d
commit 864f7aa005
6 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "aaredaqlib"
version = "0.2.66"
version = "0.2.67"
description = "Libraries shared between AareDAQ and AareGUI"
readme = "README.md"
requires-python = ">=3.11"
+1
View File
@@ -382,6 +382,7 @@ class SampleShortInfo(BaseModel):
puck_name: str
dewar_name: str
sample_name: str
run_number: int
aaredb_params: Optional[DataCollectionParameters] = None
user: str = ""
pin: Annotated[int, Field(ge=1, le=16)]
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "aaredaq"
version = "0.2.65"
version = "0.2.67"
description = "AareDAQ data acquisition server"
readme = "README.md"
requires-python = ">=3.11"
+1
View File
@@ -226,6 +226,7 @@ async def sample(token: str = Depends(oauth2_scheme)) -> SampleShortInfo:
else:
return SampleShortInfo(
sample_name="Other user sample",
run_number=0,
puck_name="",
dewar_name="",
db_id=-1,
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "aaregui"
version = "0.2.66"
version = "0.2.67"
description = "Beamline control GUI"
readme = "README.md"
requires-python = ">=3.11"
@@ -112,6 +112,7 @@ class ManualSamplePanel(QWidget):
puck_name="",
dewar_name="",
sample_name=self.__sample_name,
run_number=-1,
pin=1,
aaredb_params=data_processing,
user=self.__pgroup,