Skip to content

Commit add0413

Browse files
committed
chore: update error message
1 parent 0bc478a commit add0413

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/diffpy/morph/morphs/morphsqueeze.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ def morph(self, x_morph, y_morph, x_target, y_target):
8787
if not strictly_increasing_x:
8888
raise ValueError(
8989
"Computed squeezed x is not strictly increasing. "
90-
"Please change the input x_morph or the squeeze "
90+
"The squeezed morph is only intended for small polynomial "
91+
"stretches. Please decrease the magnitude of the polynomial "
9192
"coefficients."
9293
)
9394

0 commit comments

Comments
 (0)