Skip to content

Commit e68b59e

Browse files
committed
Add name example to diffraction object example
1 parent 8693153 commit e68b59e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffpy/utils/diffraction_objects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class DiffractionObject:
7676
... xtype="q",
7777
... wavelength=1.54,
7878
... scat_quantity="x-ray",
79+
... name="Rock Salt X-ray Diffraction",
7980
... metadata=metadata
8081
... )
8182
>>> print(do.metadata)

0 commit comments

Comments
 (0)