Skip to content

Commit a143668

Browse files
committed
Fix userguide according to the updated data registry.
1 parent 23e2a76 commit a143668

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/user-guide/workflow.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
"outputs": [],
2121
"source": [
2222
"from ess.nmx.mcstas import McStasWorkflow\n",
23-
"from ess.nmx.data import small_mcstas_3_sample\n",
23+
"from ess.nmx.data import get_small_mcstas\n",
2424
"\n",
2525
"from ess.nmx.types import *\n",
2626
"from ess.nmx.reduction import merge_panels\n",
2727
"from ess.nmx.nexus import export_as_nexus\n",
2828
"\n",
2929
"wf = McStasWorkflow()\n",
3030
"# Replace with the path to your own file\n",
31-
"wf[FilePath] = small_mcstas_3_sample()\n",
31+
"wf[FilePath] = get_small_mcstas()\n",
3232
"wf[MaximumCounts] = 10000\n",
3333
"wf[TimeBinSteps] = 50"
3434
]
@@ -170,7 +170,7 @@
170170
],
171171
"metadata": {
172172
"kernelspec": {
173-
"display_name": "scipp",
173+
"display_name": "nmx-dev-313",
174174
"language": "python",
175175
"name": "python3"
176176
},
@@ -184,7 +184,7 @@
184184
"name": "python",
185185
"nbconvert_exporter": "python",
186186
"pygments_lexer": "ipython3",
187-
"version": "3.13.0"
187+
"version": "3.13.5"
188188
}
189189
},
190190
"nbformat": 4,

docs/user-guide/workflow_chunk.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
"outputs": [],
2323
"source": [
2424
"from ess.nmx.mcstas import McStasWorkflow\n",
25-
"from ess.nmx.data import small_mcstas_3_sample\n",
25+
"from ess.nmx.data import get_small_mcstas\n",
2626
"from ess.nmx.types import *\n",
2727
"\n",
2828
"wf = McStasWorkflow()\n",
2929
"# Replace with the path to your own file\n",
30-
"wf[FilePath] = small_mcstas_3_sample()\n",
30+
"wf[FilePath] = get_small_mcstas()\n",
3131
"wf[MaximumCounts] = 10_000\n",
3232
"wf[TimeBinSteps] = 50\n",
3333
"wf.visualize(NMXReducedDataGroup, graph_attr={\"rankdir\": \"TD\"}, compact=True)"

0 commit comments

Comments
 (0)