Skip to content

Commit 9832900

Browse files
committed
chore: fix typo
1 parent f537512 commit 9832900

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/diffpy/morph/refine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def _residual(self, pvals):
8787
raise ValueError(
8888
f"\nNumber of shared grid points: {len(rvec)}\n"
8989
f"Number of parameters: {len(pvals)}\n"
90-
"Not enough shared grid points between morphed function "
91-
"between morphed function and target function to fit "
90+
"Not enough shared grid points "
91+
"between the morphed function and the target function to fit "
9292
"the chosen parameters.\n"
9393
"Please make sure the overlapping domain between the morphed "
9494
"function and the target function is sufficiently large, or "

tests/test_refine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ def test_refine_grid_bad(self, user_filesystem):
196196
expected_error_message = (
197197
"\nNumber of shared grid points: 2\n"
198198
"Number of parameters: 3\n"
199-
"Not enough shared grid points between morphed function "
200-
"between morphed function and target function to fit "
199+
"Not enough shared grid points "
200+
"between the morphed function and the target function to fit "
201201
"the chosen parameters.\n"
202202
"Please make sure the overlapping domain between the morphed "
203203
"function and the target function is sufficiently large, or "

0 commit comments

Comments
 (0)