Skip to content

Commit 37f48a4

Browse files
committed
Merge branch 'add_support_for_defining_scans_using_scanspec' of github.com:DominicOram/nexgen into add_support_for_defining_scans_using_scanspec
2 parents 32fe1fd + ffb7917 commit 37f48a4

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/nexgen/nxs_write/NXclassWriters.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,12 @@ def write_NXsample(
189189
),
190190
)
191191
else:
192-
# I'm not sure what this should be?
193-
pass
192+
nxsample.create_dataset(
193+
"depends_on",
194+
data=set_dependency(
195+
"phi", path=nxtransformations.name
196+
),
197+
)
194198

195199
# Create sample_{axisname} groups
196200
vectors = split_arrays(coord_frame, goniometer["axes"], goniometer["vectors"])

0 commit comments

Comments
 (0)