Skip to content

Commit 96934f5

Browse files
committed
Use filenames as Path
1 parent f1b608f commit 96934f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/user-guide/offspec/offspec_reduction.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@
120120
" polarization=\"unpolarized\",\n",
121121
" ),\n",
122122
" data_files=[\n",
123-
" offspec.data.offspec_sample_run().rsplit(\"/\", 1)[-1],\n",
124-
" offspec.data.offspec_direct_beam_run().rsplit(\"/\", 1)[-1],\n",
123+
" wf.compute(Filename[SampleRun]).name,\n",
124+
" wf.compute(Filename[ReferenceRun]).name,\n",
125125
" ],\n",
126126
" scheme=\"energy-dispersive\",\n",
127127
")"
@@ -439,7 +439,7 @@
439439
"name": "python",
440440
"nbconvert_exporter": "python",
441441
"pygments_lexer": "ipython3",
442-
"version": "3.10.14"
442+
"version": "3.11.10"
443443
}
444444
},
445445
"nbformat": 4,

0 commit comments

Comments
 (0)