Skip to content

Commit 1b7aa14

Browse files
edit docstring
1 parent 79161f1 commit 1b7aa14

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
@@ -397,7 +397,7 @@ def scale_to(self, target_diff_object, q=None, tth=None, d=None, offset=0):
397397
398398
The y-value in the target at the closest specified x-value will be used as the factor to scale to.
399399
The entire array is scaled by this factor so that one object places on top of the other at that point.
400-
If multiple values of `q`, `tth`, or `d` are provided, the priority is `q` > `tth` > `d`.
400+
If multiple values of `q`, `tth`, or `d` are provided, an error will be raised.
401401
If none are provided, the midpoint of the current object's `q`-array will be used.
402402
403403
Parameters

0 commit comments

Comments
 (0)