Skip to content

Commit b8a9adc

Browse files
committed
Use empty string for default scattering quantity
1 parent 291cc89 commit b8a9adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffpy/utils/diffraction_objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(
4949
self._id = uuid.uuid4()
5050
self.input_data(xarray, yarray, xtype, wavelength, scat_quantity, name, metadata)
5151

52-
def input_data(self, xarray, yarray, xtype, wavelength, scat_quantity=None, name="", metadata={}):
52+
def input_data(self, xarray, yarray, xtype, wavelength, scat_quantity="", name="", metadata={}):
5353
"""
5454
Insert a new scattering quantity into the scattering object.
5555

0 commit comments

Comments
 (0)