Skip to content

Commit 1100741

Browse files
Merge pull request #63 from scipp/next-sciline
Update for next version of Sciline
2 parents e0f9c4f + 8ffb6ae commit 1100741

23 files changed

+153
-83
lines changed

docs/api-reference/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
:toctree: ../generated/attributes
1111
1212
providers
13+
with_pixel_mask_filenames
1314
```
1415

1516
### Submodules

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
" # Mask in time-of-flight to crop to valid range\n",
5454
" TofMask: lambda x: (x < sc.scalar(0.0, unit=\"ns\"))\n",
5555
" | (x > sc.scalar(86e6, unit=\"ns\")),\n",
56+
" TwoThetaMask: None,\n",
57+
" WavelengthMask: None,\n",
5658
"}\n",
5759
"\n",
5860
"# Not available in simulated data\n",
@@ -91,7 +93,8 @@
9193
" *powder.providers,\n",
9294
")\n",
9395
"\n",
94-
"pipeline = sciline.Pipeline(providers, params=params)"
96+
"pipeline = sciline.Pipeline(providers, params=params)\n",
97+
"pipeline = powder.with_pixel_mask_filenames(pipeline, [])"
9598
]
9699
},
97100
{
@@ -282,7 +285,8 @@
282285
"mimetype": "text/x-python",
283286
"name": "python",
284287
"nbconvert_exporter": "python",
285-
"pygments_lexer": "ipython3"
288+
"pygments_lexer": "ipython3",
289+
"version": "3.10.12"
286290
}
287291
},
288292
"nbformat": 4,

docs/user-guide/sns-instruments/POWGEN_data_reduction.ipynb

+6-2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
" # Mask in time-of-flight to crop to valid range\n",
6363
" TofMask: lambda x: (x < sc.scalar(0.0, unit=\"us\"))\n",
6464
" | (x > sc.scalar(16666.67, unit=\"us\")),\n",
65+
" TwoThetaMask: None,\n",
66+
" WavelengthMask: None,\n",
6567
"}"
6668
]
6769
},
@@ -83,7 +85,8 @@
8385
"outputs": [],
8486
"source": [
8587
"providers = [*powder.providers, *powgen.providers]\n",
86-
"pipeline = sciline.Pipeline(providers, params=params)"
88+
"pipeline = sciline.Pipeline(providers, params=params)\n",
89+
"pipeline = powder.with_pixel_mask_filenames(pipeline, [])"
8790
]
8891
},
8992
{
@@ -382,7 +385,8 @@
382385
"mimetype": "text/x-python",
383386
"name": "python",
384387
"nbconvert_exporter": "python",
385-
"pygments_lexer": "ipython3"
388+
"pygments_lexer": "ipython3",
389+
"version": "3.10.12"
386390
}
387391
},
388392
"nbformat": 4,

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ dependencies = [
3333
"dask",
3434
"essreduce",
3535
"graphviz",
36+
"numpy<2.0.0",
3637
"plopp",
3738
"pythreejs",
38-
"sciline>=23.9.1",
39+
"sciline>=24.06.0",
3940
"scipp>=23.8.0",
4041
"scippneutron>=23.9.0",
4142
"scippnexus>=23.12.0",

requirements/base.in

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
dask
66
essreduce
77
graphviz
8+
numpy<2.0.0
89
plopp
910
pythreejs
10-
sciline>=23.9.1
11+
sciline>=24.06.0
1112
scipp>=23.8.0
1213
scippneutron>=23.9.0
1314
scippnexus>=23.12.0

requirements/base.txt

+24-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SHA1:29c507e8f357aa38ed2ac5c664d04a700311abaa
1+
# SHA1:4c50d46537635c6b5484ebc2993aec09597baf9c
22
#
33
# This file is autogenerated by pip-compile-multi
44
# To update, run:
@@ -7,7 +7,7 @@
77
#
88
asttokens==2.4.1
99
# via stack-data
10-
certifi==2024.2.2
10+
certifi==2024.6.2
1111
# via requests
1212
charset-normalizer==3.3.2
1313
# via requests
@@ -19,19 +19,23 @@ comm==0.2.2
1919
# via ipywidgets
2020
contourpy==1.2.1
2121
# via matplotlib
22+
cyclebane==24.6.0
23+
# via sciline
2224
cycler==0.12.1
2325
# via matplotlib
24-
dask==2024.5.1
26+
dask==2024.6.0
2527
# via -r base.in
2628
decorator==5.1.1
2729
# via ipython
2830
essreduce==24.3.11
2931
# via -r base.in
32+
exceptiongroup==1.2.1
33+
# via ipython
3034
executing==2.0.1
3135
# via stack-data
32-
fonttools==4.52.4
36+
fonttools==4.53.0
3337
# via matplotlib
34-
fsspec==2024.5.0
38+
fsspec==2024.6.0
3539
# via dask
3640
graphviz==0.20.3
3741
# via -r base.in
@@ -41,9 +45,11 @@ h5py==3.11.0
4145
# scippnexus
4246
idna==3.7
4347
# via requests
48+
importlib-metadata==7.1.0
49+
# via dask
4450
ipydatawidgets==4.3.5
4551
# via pythreejs
46-
ipython==8.24.0
52+
ipython==8.25.0
4753
# via ipywidgets
4854
ipywidgets==8.1.3
4955
# via
@@ -61,8 +67,11 @@ matplotlib==3.9.0
6167
# via plopp
6268
matplotlib-inline==0.1.7
6369
# via ipython
70+
networkx==3.3
71+
# via cyclebane
6472
numpy==1.26.4
6573
# via
74+
# -r base.in
6675
# contourpy
6776
# h5py
6877
# ipydatawidgets
@@ -71,7 +80,7 @@ numpy==1.26.4
7180
# scipp
7281
# scippneutron
7382
# scipy
74-
packaging==24.0
83+
packaging==24.1
7584
# via
7685
# dask
7786
# matplotlib
@@ -90,9 +99,9 @@ plopp==24.5.0
9099
# via
91100
# -r base.in
92101
# scippneutron
93-
pooch==1.8.1
102+
pooch==1.8.2
94103
# via scippneutron
95-
prompt-toolkit==3.0.45
104+
prompt-toolkit==3.0.47
96105
# via ipython
97106
ptyprocess==0.7.0
98107
# via pexpect
@@ -110,9 +119,9 @@ pythreejs==2.4.2
110119
# via -r base.in
111120
pyyaml==6.0.1
112121
# via dask
113-
requests==2.32.2
122+
requests==2.32.3
114123
# via pooch
115-
sciline==24.4.1
124+
sciline==24.6.0
116125
# via -r base.in
117126
scipp==24.5.1
118127
# via
@@ -151,9 +160,13 @@ traitlets==5.14.3
151160
# traittypes
152161
traittypes==0.2.1
153162
# via ipydatawidgets
163+
typing-extensions==4.12.2
164+
# via ipython
154165
urllib3==2.2.1
155166
# via requests
156167
wcwidth==0.2.13
157168
# via prompt-toolkit
158169
widgetsnbextension==4.0.11
159170
# via ipywidgets
171+
zipp==3.19.2
172+
# via importlib-metadata

requirements/basetest.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Dependencies that are only used by tests.
22
# Do not make an environment from this file, use test.txt instead!
33

4+
numpy<2.0.0
45
pandas
56
pytest

requirements/basetest.txt

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SHA1:2da4cc17c82e9ac0b3764abd55420a1e9d217c9d
1+
# SHA1:1199eb6a71c82d0580b7a1a4178e0c3586ed7e67
22
#
33
# This file is autogenerated by pip-compile-multi
44
# To update, run:
@@ -10,14 +10,16 @@ exceptiongroup==1.2.1
1010
iniconfig==2.0.0
1111
# via pytest
1212
numpy==1.26.4
13-
# via pandas
14-
packaging==24.0
13+
# via
14+
# -r basetest.in
15+
# pandas
16+
packaging==24.1
1517
# via pytest
1618
pandas==2.2.2
1719
# via -r basetest.in
1820
pluggy==1.5.0
1921
# via pytest
20-
pytest==8.2.1
22+
pytest==8.2.2
2123
# via -r basetest.in
2224
python-dateutil==2.9.0.post0
2325
# via pandas

requirements/ci.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
cachetools==5.3.3
99
# via tox
10-
certifi==2024.2.2
10+
certifi==2024.6.2
1111
# via requests
1212
chardet==5.2.0
1313
# via tox
@@ -17,7 +17,7 @@ colorama==0.4.6
1717
# via tox
1818
distlib==0.3.8
1919
# via virtualenv
20-
filelock==3.14.0
20+
filelock==3.15.1
2121
# via
2222
# tox
2323
# virtualenv
@@ -27,7 +27,7 @@ gitpython==3.1.43
2727
# via -r ci.in
2828
idna==3.7
2929
# via requests
30-
packaging==24.0
30+
packaging==24.1
3131
# via
3232
# -r ci.in
3333
# pyproject-api
@@ -40,15 +40,15 @@ pluggy==1.5.0
4040
# via tox
4141
pyproject-api==1.6.1
4242
# via tox
43-
requests==2.32.2
43+
requests==2.32.3
4444
# via -r ci.in
4545
smmap==5.0.1
4646
# via gitdb
4747
tomli==2.0.1
4848
# via
4949
# pyproject-api
5050
# tox
51-
tox==4.15.0
51+
tox==4.15.1
5252
# via -r ci.in
5353
urllib3==2.2.1
5454
# via requests

requirements/dev.txt

+7-7
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jinja2-ansible-filters==1.3.2
4848
# via copier
4949
json5==0.9.25
5050
# via jupyterlab-server
51-
jsonpointer==2.4
51+
jsonpointer==3.0.0
5252
# via jsonschema
5353
jsonschema[format-nongpl]==4.22.0
5454
# via
@@ -59,15 +59,15 @@ jupyter-events==0.10.0
5959
# via jupyter-server
6060
jupyter-lsp==2.2.5
6161
# via jupyterlab
62-
jupyter-server==2.14.0
62+
jupyter-server==2.14.1
6363
# via
6464
# jupyter-lsp
6565
# jupyterlab
6666
# jupyterlab-server
6767
# notebook-shim
6868
jupyter-server-terminals==0.5.3
6969
# via jupyter-server
70-
jupyterlab==4.2.1
70+
jupyterlab==4.2.2
7171
# via -r dev.in
7272
jupyterlab-server==2.27.2
7373
# via jupyterlab
@@ -77,7 +77,7 @@ overrides==7.7.0
7777
# via jupyter-server
7878
pathspec==0.12.1
7979
# via copier
80-
pip-compile-multi==2.6.3
80+
pip-compile-multi==2.6.4
8181
# via -r dev.in
8282
pip-tools==7.4.1
8383
# via pip-compile-multi
@@ -87,9 +87,9 @@ prometheus-client==0.20.0
8787
# via jupyter-server
8888
pycparser==2.22
8989
# via cffi
90-
pydantic==2.7.2
90+
pydantic==2.7.4
9191
# via copier
92-
pydantic-core==2.18.3
92+
pydantic-core==2.18.4
9393
# via pydantic
9494
python-json-logger==2.0.7
9595
# via jupyter-events
@@ -119,7 +119,7 @@ types-python-dateutil==2.9.0.20240316
119119
# via arrow
120120
uri-template==1.3.0
121121
# via jsonschema
122-
webcolors==1.13
122+
webcolors==24.6.0
123123
# via jsonschema
124124
websocket-client==1.8.0
125125
# via jupyter-server

requirements/docs.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ docutils==0.21.2
3434
# nbsphinx
3535
# pydata-sphinx-theme
3636
# sphinx
37-
fastjsonschema==2.19.1
37+
fastjsonschema==2.20.0
3838
# via nbformat
3939
imagesize==1.4.1
4040
# via sphinx
@@ -133,7 +133,7 @@ sphinx==7.3.7
133133
# sphinx-autodoc-typehints
134134
# sphinx-copybutton
135135
# sphinx-design
136-
sphinx-autodoc-typehints==2.1.0
136+
sphinx-autodoc-typehints==2.1.1
137137
# via -r docs.in
138138
sphinx-copybutton==0.5.2
139139
# via -r docs.in
@@ -155,7 +155,7 @@ tinycss2==1.3.0
155155
# via nbconvert
156156
tomli==2.0.1
157157
# via sphinx
158-
tornado==6.4
158+
tornado==6.4.1
159159
# via
160160
# ipykernel
161161
# jupyter-client

requirements/nightly.in

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
dask
55
essreduce
66
graphviz
7+
numpy<2.0.0
78
pythreejs
89
https://github.com/scipp/scipp/releases/download/nightly/scipp-nightly-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
910
scippnexus @ git+https://github.com/scipp/scippnexus@main

0 commit comments

Comments
 (0)