Skip to content

Commit 60758cd

Browse files
committed
Fix pre-commit
1 parent 6d6a06d commit 60758cd

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

src/diffpy/morph/morphpy.py

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22

33
import numpy as np
44

5-
from diffpy.morph.morphapp import (
6-
create_option_parser,
7-
multiple_morphs,
8-
multiple_targets,
9-
single_morph,
10-
)
5+
from diffpy.morph.morphapp import create_option_parser, single_morph
116

127

138
def get_args(parser, params, kwargs):
@@ -48,15 +43,18 @@ def morph(
4843
smear: float, optional
4944
Initial guess for the smearing parameter.
5045
plot: bool
51-
Show a plot of the morphed and target functions as well as the difference curve (default: False).
46+
Show a plot of the morphed and target functions as well as the
47+
difference curve (default: False).
5248
kwargs: dict
5349
See the diffpy.morph website for full list of options.
5450
Returns
5551
-------
5652
morph_info: dict
57-
Summary of morph parameters (e.g. scale, stretch, smear, rmin, rmax) and results (e.g. Pearson, Rw).
53+
Summary of morph parameters (e.g. scale, stretch, smear, rmin, rmax)
54+
and results (e.g. Pearson, Rw).
5855
morph_table: list
59-
Function after morph where morph_table[:,0] is the abscissa and morph_table[:,1] is the ordinate.
56+
Function after morph where morph_table[:,0] is the abscissa and
57+
morph_table[:,1] is the ordinate.
6058
"""
6159

6260
parser = create_option_parser()
@@ -99,15 +97,18 @@ def morphpy(
9997
smear: float, optional
10098
Initial guess for the smearing parameter.
10199
plot: bool
102-
Show a plot of the morphed and target functions as well as the difference curve (default: False).
100+
Show a plot of the morphed and target functions as well as the
101+
difference curve (default: False).
103102
kwargs: dict
104103
See the diffpy.morph website for full list of options.
105104
Returns
106105
-------
107106
morph_info: dict
108-
Summary of morph parameters (e.g. scale, stretch, smear, rmin, rmax) and results (e.g. Pearson, Rw).
107+
Summary of morph parameters (e.g. scale, stretch, smear, rmin, rmax)
108+
and results (e.g. Pearson, Rw).
109109
morph_table: list
110-
Function after morph where morph_table[:,0] is the abscissa and morph_table[:,1] is the ordinate.
110+
Function after morph where morph_table[:,0] is the abscissa and
111+
morph_table[:,1] is the ordinate.
111112
"""
112113

113114
parser = create_option_parser()

0 commit comments

Comments
 (0)