Skip to content

Commit 3f577d7

Browse files
committed
Apply pre-commit
1 parent 9741a8e commit 3f577d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/diffpy/utils/diffraction_objects.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,16 +196,16 @@ def __add__(self, other):
196196
Raised when the length of the xarrays of the two DiffractionObject instances do not match.
197197
TypeError
198198
Raised when the type of `other` is not an instance of DiffractionObject, int, or float.
199-
199+
200200
Examples
201201
--------
202202
Add a scalar value to the xarrays of the DiffractionObject instance:
203203
>>> new_do = my_do + 10.1
204-
204+
205205
Add the xarrays of two DiffractionObject instances:
206206
>>> new_do = my_do_1 + my_do_2
207207
"""
208-
208+
209209
summed_do = deepcopy(self)
210210
# Add scalar value to all xarrays by broadcasting
211211
if isinstance(other, (int, float)):

0 commit comments

Comments
 (0)