Skip to content

Commit 8d97af9

Browse files
authored
Merge pull request #165 from scipp/custom-type-var-constraints
Custom type var constraints
2 parents 977e559 + e858114 commit 8d97af9

File tree

21 files changed

+92
-89
lines changed

21 files changed

+92
-89
lines changed

docs/user-guide/dream/dream-advanced-powder-reduction.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@
5656
"\n",
5757
"workflow[Filename[SampleRun]] = dream.data.simulated_diamond_sample()\n",
5858
"workflow[Filename[VanadiumRun]] = dream.data.simulated_vanadium_sample()\n",
59-
"workflow[Filename[BackgroundRun]] = dream.data.simulated_empty_can()\n",
59+
"workflow[Filename[EmptyCanRun]] = dream.data.simulated_empty_can()\n",
6060
"workflow[CalibrationFilename] = None\n",
6161
"\n",
6262
"workflow[MonitorFilename[SampleRun]] = dream.data.simulated_monitor_diamond_sample()\n",
6363
"workflow[MonitorFilename[VanadiumRun]] = dream.data.simulated_monitor_vanadium_sample()\n",
64-
"workflow[MonitorFilename[BackgroundRun]] = dream.data.simulated_monitor_empty_can()\n",
64+
"workflow[MonitorFilename[EmptyCanRun]] = dream.data.simulated_monitor_empty_can()\n",
6565
"workflow[CaveMonitorPosition] = sc.vector([0.0, 0.0, -4220.0], unit=\"mm\")\n",
6666
"\n",
6767
"workflow[dream.InstrumentConfiguration] = dream.InstrumentConfiguration.high_flux\n",
@@ -174,12 +174,12 @@
174174
"\n",
175175
"workflow[Filename[SampleRun]] = dream.data.simulated_diamond_sample()\n",
176176
"workflow[Filename[VanadiumRun]] = dream.data.simulated_vanadium_sample()\n",
177-
"workflow[Filename[BackgroundRun]] = dream.data.simulated_empty_can()\n",
177+
"workflow[Filename[EmptyCanRun]] = dream.data.simulated_empty_can()\n",
178178
"workflow[CalibrationFilename] = None\n",
179179
"\n",
180180
"workflow[MonitorFilename[SampleRun]] = dream.data.simulated_monitor_diamond_sample()\n",
181181
"workflow[MonitorFilename[VanadiumRun]] = dream.data.simulated_monitor_vanadium_sample()\n",
182-
"workflow[MonitorFilename[BackgroundRun]] = dream.data.simulated_monitor_empty_can()\n",
182+
"workflow[MonitorFilename[EmptyCanRun]] = dream.data.simulated_monitor_empty_can()\n",
183183
"workflow[CaveMonitorPosition] = sc.vector([0.0, 0.0, -4220.0], unit=\"mm\")\n",
184184
"\n",
185185
"workflow[dream.InstrumentConfiguration] = dream.InstrumentConfiguration.high_flux\n",
@@ -254,7 +254,7 @@
254254
"\n",
255255
"workflow[Filename[SampleRun]] = dream.data.simulated_diamond_sample()\n",
256256
"workflow[Filename[VanadiumRun]] = dream.data.simulated_vanadium_sample()\n",
257-
"workflow[Filename[BackgroundRun]] = dream.data.simulated_empty_can()\n",
257+
"workflow[Filename[EmptyCanRun]] = dream.data.simulated_empty_can()\n",
258258
"workflow[CalibrationFilename] = None\n",
259259
"\n",
260260
"workflow[dream.InstrumentConfiguration] = dream.InstrumentConfiguration.high_flux\n",
@@ -374,7 +374,7 @@
374374
"\n",
375375
"workflow[Filename[SampleRun]] = dream.data.simulated_diamond_sample()\n",
376376
"workflow[Filename[VanadiumRun]] = dream.data.simulated_vanadium_sample()\n",
377-
"workflow[Filename[BackgroundRun]] = dream.data.simulated_empty_can()\n",
377+
"workflow[Filename[EmptyCanRun]] = dream.data.simulated_empty_can()\n",
378378
"workflow[CalibrationFilename] = None\n",
379379
"\n",
380380
"workflow[dream.InstrumentConfiguration] = dream.InstrumentConfiguration.high_flux\n",

docs/user-guide/dream/dream-powder-reduction.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@
7979
"source": [
8080
"workflow[Filename[SampleRun]] = dream.data.simulated_diamond_sample()\n",
8181
"workflow[Filename[VanadiumRun]] = dream.data.simulated_vanadium_sample()\n",
82-
"workflow[Filename[BackgroundRun]] = dream.data.simulated_empty_can()\n",
82+
"workflow[Filename[EmptyCanRun]] = dream.data.simulated_empty_can()\n",
8383
"workflow[CalibrationFilename] = None\n",
8484
"\n",
8585
"workflow[MonitorFilename[SampleRun]] = dream.data.simulated_monitor_diamond_sample()\n",
8686
"workflow[MonitorFilename[VanadiumRun]] = dream.data.simulated_monitor_vanadium_sample()\n",
87-
"workflow[MonitorFilename[BackgroundRun]] = dream.data.simulated_monitor_empty_can()\n",
87+
"workflow[MonitorFilename[EmptyCanRun]] = dream.data.simulated_monitor_empty_can()\n",
8888
"workflow[CaveMonitorPosition] = sc.vector([0.0, 0.0, -4220.0], unit=\"mm\")\n",
8989
"\n",
9090
"workflow[dream.InstrumentConfiguration] = dream.InstrumentConfiguration.high_flux\n",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ requires-python = ">=3.10"
3232
# Make sure to list one dependency per line.
3333
dependencies = [
3434
"dask",
35-
"essreduce>=25.05.1",
35+
"essreduce>=25.05.2",
3636
"graphviz",
3737
"numpy",
3838
"plopp>=25.03.0",

requirements/base.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# --- END OF CUSTOM SECTION ---
44
# The following was generated by 'tox -e deps', DO NOT EDIT MANUALLY!
55
dask
6-
essreduce>=25.05.1
6+
essreduce>=25.05.2
77
graphviz
88
numpy
99
plopp>=25.03.0

requirements/base.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SHA1:9fd92aa14a70d874a87640e7dbb332600b0c2ac7
1+
# SHA1:60cb3370153cfec27ffbe68c100df7aa10faaed0
22
#
33
# This file was generated by pip-compile-multi.
44
# To update, run:
@@ -9,7 +9,7 @@ annotated-types==0.7.0
99
# via pydantic
1010
asttokens==3.0.0
1111
# via stack-data
12-
click==8.2.0
12+
click==8.2.1
1313
# via dask
1414
cloudpickle==3.1.1
1515
# via dask
@@ -21,23 +21,23 @@ cyclebane==24.10.0
2121
# via sciline
2222
cycler==0.12.1
2323
# via matplotlib
24-
dask==2025.5.0
24+
dask==2025.5.1
2525
# via -r base.in
2626
decorator==5.2.1
2727
# via ipython
2828
dnspython==2.7.0
2929
# via email-validator
3030
email-validator==2.2.0
3131
# via scippneutron
32-
essreduce==25.5.1
32+
essreduce==25.5.2
3333
# via -r base.in
3434
exceptiongroup==1.3.0
3535
# via ipython
3636
executing==2.2.0
3737
# via stack-data
3838
fonttools==4.58.0
3939
# via matplotlib
40-
fsspec==2025.3.2
40+
fsspec==2025.5.0
4141
# via dask
4242
graphviz==0.20.3
4343
# via -r base.in
@@ -80,7 +80,7 @@ mpltoolbox==25.4.0
8080
# via scippneutron
8181
networkx==3.4.2
8282
# via cyclebane
83-
numpy==2.2.5
83+
numpy==2.2.6
8484
# via
8585
# -r base.in
8686
# contourpy
@@ -104,7 +104,7 @@ pexpect==4.9.0
104104
# via ipython
105105
pillow==11.2.1
106106
# via matplotlib
107-
plopp==25.4.1
107+
plopp==25.5.0
108108
# via
109109
# -r base.in
110110
# scippneutron
@@ -132,7 +132,7 @@ pythreejs==2.4.2
132132
# via -r base.in
133133
pyyaml==6.0.2
134134
# via dask
135-
sciline==25.5.1
135+
sciline==25.5.2
136136
# via
137137
# -r base.in
138138
# essreduce
@@ -185,7 +185,7 @@ typing-extensions==4.13.2
185185
# pydantic-core
186186
# sciline
187187
# typing-inspection
188-
typing-inspection==0.4.0
188+
typing-inspection==0.4.1
189189
# via pydantic
190190
wcwidth==0.2.13
191191
# via prompt-toolkit

requirements/basetest.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ idna==3.10
1515
# via requests
1616
iniconfig==2.1.0
1717
# via pytest
18-
numpy==2.2.5
18+
numpy==2.2.6
1919
# via pandas
2020
packaging==25.0
2121
# via
@@ -25,7 +25,7 @@ pandas==2.2.3
2525
# via -r basetest.in
2626
platformdirs==4.3.8
2727
# via pooch
28-
pluggy==1.5.0
28+
pluggy==1.6.0
2929
# via pytest
3030
pooch==1.8.2
3131
# via -r basetest.in

requirements/ci.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ platformdirs==4.3.8
3636
# via
3737
# tox
3838
# virtualenv
39-
pluggy==1.5.0
39+
pluggy==1.6.0
4040
# via tox
4141
pyproject-api==1.9.1
4242
# via tox

requirements/dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pip-tools==7.4.1
8181
# via pip-compile-multi
8282
plumbum==1.9.0
8383
# via copier
84-
prometheus-client==0.21.1
84+
prometheus-client==0.22.0
8585
# via jupyter-server
8686
pycparser==2.22
8787
# via cffi
@@ -107,7 +107,7 @@ terminado==0.18.1
107107
# jupyter-server-terminals
108108
toposort==1.10
109109
# via pip-compile-multi
110-
types-python-dateutil==2.9.0.20241206
110+
types-python-dateutil==2.9.0.20250516
111111
# via arrow
112112
uri-template==1.3.0
113113
# via jsonschema

requirements/docs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ requests==2.32.3
138138
# via
139139
# pooch
140140
# sphinx
141-
rpds-py==0.24.0
141+
rpds-py==0.25.1
142142
# via
143143
# jsonschema
144144
# referencing
@@ -180,7 +180,7 @@ tinycss2==1.4.0
180180
# via bleach
181181
tomli==2.2.1
182182
# via sphinx
183-
tornado==6.4.2
183+
tornado==6.5
184184
# via
185185
# ipykernel
186186
# jupyter-client

requirements/nightly.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ certifi==2025.4.26
1616
# via requests
1717
charset-normalizer==3.4.2
1818
# via requests
19-
click==8.2.0
19+
click==8.2.1
2020
# via dask
2121
cloudpickle==3.1.1
2222
# via dask
@@ -28,7 +28,7 @@ cyclebane==24.10.0
2828
# via sciline
2929
cycler==0.12.1
3030
# via matplotlib
31-
dask==2025.5.0
31+
dask==2025.5.1
3232
# via -r nightly.in
3333
decorator==5.2.1
3434
# via ipython
@@ -46,7 +46,7 @@ executing==2.2.0
4646
# via stack-data
4747
fonttools==4.58.0
4848
# via matplotlib
49-
fsspec==2025.3.2
49+
fsspec==2025.5.0
5050
# via dask
5151
graphviz==0.20.3
5252
# via -r nightly.in
@@ -93,7 +93,7 @@ mpltoolbox==25.4.0
9393
# via scippneutron
9494
networkx==3.4.2
9595
# via cyclebane
96-
numpy==2.2.5
96+
numpy==2.2.6
9797
# via
9898
# -r nightly.in
9999
# contourpy
@@ -129,7 +129,7 @@ plopp @ git+https://github.com/scipp/plopp@main
129129
# -r nightly.in
130130
# scippneutron
131131
# tof
132-
pluggy==1.5.0
132+
pluggy==1.6.0
133133
# via pytest
134134
pooch==1.8.2
135135
# via -r nightly.in
@@ -218,7 +218,7 @@ typing-extensions==4.13.2
218218
# pydantic-core
219219
# sciline
220220
# typing-inspection
221-
typing-inspection==0.4.0
221+
typing-inspection==0.4.1
222222
# via pydantic
223223
tzdata==2025.2
224224
# via pandas

0 commit comments

Comments
 (0)