Skip to content

Commit

Permalink
Fix linting issues in test_distances.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xhgchen committed Mar 30, 2023
1 parent bbc726c commit e575a99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testsuite/MDAnalysisTests/analysis/test_distances.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def test_ad_pairwise_dist(self, ad_ag1, ad_ag2,
'''Ensure that pairwise distances between atoms are
correctly calculated without PBCs.'''
pairwise_no_pbc = (MDAnalysis.analysis.distances.AtomicDistances
(ad_ag1, ad_ag2, pbc=False).run())
(ad_ag1, ad_ag2, pbc=False).run())
actual = pairwise_no_pbc.results

# compare with expected values from scipy
Expand All @@ -356,11 +356,11 @@ def test_ad_pairwise_dist(self, ad_ag1, ad_ag2,
assert_allclose(actual, expected_dist)

def test_ad_pairwise_dist_pbc(self, ad_ag1, ad_ag2,
expected_pbc, expected_pbc_dist):
expected_pbc, expected_pbc_dist):
'''Ensure that pairwise distances between atoms are
correctly calculated with PBCs.'''
pairwise_pbc = (MDAnalysis.analysis.distances.AtomicDistances
(ad_ag1, ad_ag2).run())
(ad_ag1, ad_ag2).run())
actual = pairwise_pbc.results

# compare with expected values from expected_pbc()
Expand Down

0 comments on commit e575a99

Please sign in to comment.