Skip to content

Commit e357305

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent 0fd0a71 commit e357305

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

src/diffpy/pdfmorph/pdfmorphpy.py

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

33
from pathlib import Path
44

5-
from diffpy.pdfmorph.pdfmorphapp import create_option_parser, single_morph, multiple_targets, multiple_morphs
5+
from diffpy.pdfmorph.pdfmorphapp import create_option_parser, multiple_morphs, multiple_targets, single_morph
66

77

88
def pdfmorph(file1, file2, **kwargs):
@@ -38,20 +38,20 @@ def pdfmorph(file1, file2, **kwargs):
3838
def pdfmorph_multiple_targets(file, dir, **kwargs):
3939
"""Run PDFmorph with multiple targets at Python level.
4040
41-
Parameters
42-
----------
43-
file1: str
44-
Path-like object to the file to be morphed.
45-
file2: str
46-
Path-like object to the target file.
47-
kwargs: dict
48-
See the PDFmorph manual for options.
49-
50-
Returns
51-
-------
52-
dict:
53-
Summary of morphs.
54-
"""
41+
Parameters
42+
----------
43+
file1: str
44+
Path-like object to the file to be morphed.
45+
file2: str
46+
Path-like object to the target file.
47+
kwargs: dict
48+
See the PDFmorph manual for options.
49+
50+
Returns
51+
-------
52+
dict:
53+
Summary of morphs.
54+
"""
5555

5656
parser = create_option_parser()
5757

@@ -68,20 +68,20 @@ def pdfmorph_multiple_targets(file, dir, **kwargs):
6868
def pdfmorph_multiple_morphs(dir, file, **kwargs):
6969
"""Run PDFmorph for multiple morphs at Python level.
7070
71-
Parameters
72-
----------
73-
file1: str
74-
Path-like object to the file to be morphed.
75-
file2: str
76-
Path-like object to the target file.
77-
kwargs: dict
78-
See the PDFmorph manual for options.
79-
80-
Returns
81-
-------
82-
dict:
83-
Summary of morphs.
84-
"""
71+
Parameters
72+
----------
73+
file1: str
74+
Path-like object to the file to be morphed.
75+
file2: str
76+
Path-like object to the target file.
77+
kwargs: dict
78+
See the PDFmorph manual for options.
79+
80+
Returns
81+
-------
82+
dict:
83+
Summary of morphs.
84+
"""
8585

8686
parser = create_option_parser()
8787

0 commit comments

Comments
 (0)