File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/diffpy/utils/scattering_objects Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11import datetime
2- from copy import deepcopy
32import warnings
3+ from copy import deepcopy
4+
45import numpy as np
56
67from diffpy .utils .tools import get_package_info
@@ -24,12 +25,14 @@ class Diffraction_object:
2425 `Diffraction_object` will be removed in diffpy.utils 3.6.0, it is replaced by
2526 `DiffractionObject` to follow the class naming convention.
2627 """
28+
2729 warnings .warn (
2830 "Diffraction_object` will be removed in diffpy.utils 3.6.0, it is replaced by "
2931 "DiffractionObject` to follow the class naming convention." ,
3032 DeprecationWarning ,
3133 stacklevel = 2 ,
3234 )
35+
3336 def __init__ (self , name = "" , wavelength = None ):
3437 self .name = name
3538 self .wavelength = wavelength
You can’t perform that action at this time.
0 commit comments