Skip to content

Commit 136bfd4

Browse files
authored
Merge pull request #10 from dabeycorn/pre-commit-flake8
pre-commit: fix flake8 errors
2 parents 99174e1 + 27c46c6 commit 136bfd4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/test_distanceprinter.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ def test_distanceprinter(monkeypatch):
99
example_file_dir = os.path.join(current_module_dir, "data")
1010
# must be cif, stru, or xyz file
1111
strufile = os.path.join(example_file_dir, "Ni-9008476.cif")
12-
# atoms typically pull from list of elements in stru output of PDFFitStructure. 'all' is always first option
12+
# atoms typically pull from list of elements in output of PDFFitStructure.
13+
# 'all' is always first option
1314
atomi = "all"
1415
atomj = "all"
1516
# lb and ub are lower an upper bound of distance to list in angstroms
1617
lb = 1
1718
ub = 10
18-
# 1 means keep duplicate atom pairs with same inter-atomic distance, 0 means not to
19+
# 1 means keep duplicate atom pairs with same inter-atomic distance
20+
# 0 means not to
1921
comp = "1"
2022
monkeypatch.setattr(
2123
"sys.argv",
@@ -44,7 +46,7 @@ def test_distanceprinter(monkeypatch):
4446
rv1 = "".join(rv1)
4547
teststr = rv1
4648

47-
# Remove structure file path when comparing as it may differ between machines
49+
# Remove stru file path when comparing as it may differ between machines
4850
resultstr = resultstr.split("\n", 2)[2]
4951
teststr = teststr.split("\n", 2)[2]
5052
assert resultstr == teststr

0 commit comments

Comments
 (0)