Skip to content

Commit 745d41f

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent 7591e43 commit 745d41f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: src/diffpy/morph/morphapp.py

+1-3
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 len(pargs) != 6 and not 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

Diff for: src/diffpy/morph/morphpy.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22

33
import numpy as np
4+
45
from diffpy.morph.morphapp import (
56
create_option_parser,
67
multiple_morphs,

0 commit comments

Comments
 (0)