Skip to content

Commit 19bb348

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent 90407b4 commit 19bb348

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/diffpy/morph/morphapp.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,7 @@ def single_morph(parser, opts, pargs, stdout_flag=True, python_wrap=False):
411411
"Too many arguments. Make sure you only supply FILE1 and FILE2."
412412
)
413413
elif not (len(pargs) == 2 or len(pargs) == 6) and python_wrap:
414-
parser.error(
415-
"Python wrapper error."
416-
)
414+
parser.error("Python wrapper error.")
417415

418416
# Get the PDFs
419417
# If we get from python, we may wrap, which has input size 4

src/diffpy/morph/morphpy.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ def morph(morph_file, target_file, **kwargs):
4242
)
4343

4444

45-
def morphpy(morph_table, target_table, morph_header=None, target_header=None, **kwargs):
45+
def morphpy(
46+
morph_table, target_table, morph_header=None, target_header=None, **kwargs
47+
):
4648
"""Run diffpy.morph at Python level.
4749
4850
Parameters

0 commit comments

Comments
 (0)