Skip to content

Commit 91eac16

Browse files
committed
Refactor test_scale_to function
1 parent 2bc765f commit 91eac16

File tree

2 files changed

+228
-219
lines changed

2 files changed

+228
-219
lines changed

src/diffpy/utils/transforms.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
"The supplied input array and wavelength will result in an impossible two-theta. "
1515
"Please check these values and re-instantiate the DiffractionObject with correct values."
1616
)
17-
inf_output_wmsg = (
18-
"INFO: The largest output value in the array is infinite. This is allowed, but it will not be plotted."
19-
)
17+
inf_output_wmsg = "The largest output value in the array is infinite. This is allowed, but it will not be plotted."
2018

2119

2220
def _validate_inputs(q, wavelength):

0 commit comments

Comments
 (0)