Skip to content

Commit 8667f3b

Browse files
fix error in creating DO on xtype=d
1 parent 4afc6a6 commit 8667f3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffpy/utils/scattering_objects/diffraction_objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def insert_scattering_quantity(
283283
elif xtype.lower() in ANGLEQUANTITIES:
284284
self.on_tth = [np.array(xarray), np.array(yarray)]
285285
elif xtype.lower() in DQUANTITIES:
286-
self.on_tth = [np.array(xarray), np.array(yarray)]
286+
self.on_d = [np.array(xarray), np.array(yarray)]
287287
self.set_all_arrays()
288288

289289
def q_to_tth(self):

0 commit comments

Comments
 (0)