From ccacd8fccbbc19800dfff564f4d4e5b96cf7ce17 Mon Sep 17 00:00:00 2001 From: ojeda-e Date: Fri, 30 Jul 2021 17:42:01 -0600 Subject: [PATCH] fixed PEP8 --- membrane_curvature/base.py | 4 ++-- membrane_curvature/tests/test_membrane_curvature.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/membrane_curvature/base.py b/membrane_curvature/base.py index f63ff3a..3c2df4e 100644 --- a/membrane_curvature/base.py +++ b/membrane_curvature/base.py @@ -78,7 +78,7 @@ class MembraneCurvature(AnalysisBase): Use `wrap=True` to translates the atoms of your `mda.Universe` back in the unit cell. Use `wrap=False` for processed trajectories where rotational/translational fit is performed. - + For more details on when to use `wrap=True`, check the `Usage `_ page. @@ -152,7 +152,7 @@ def __init__(self, universe, select='all', else: msg = (" `wrap == False` may result in inaccurate calculation " "of membrane curvature. Surfaces will be derived from " - "a reduced number of atoms. \n " + "a reduced number of atoms. \n " " Ignore this warning if your trajectory has " " rotational/translational fit rotations! ") warnings.warn(msg) diff --git a/membrane_curvature/tests/test_membrane_curvature.py b/membrane_curvature/tests/test_membrane_curvature.py index 7fcaa69..ed88325 100644 --- a/membrane_curvature/tests/test_membrane_curvature.py +++ b/membrane_curvature/tests/test_membrane_curvature.py @@ -324,8 +324,8 @@ def test_analysis_mean_no_wrap(self, universe): avg_mean = mc.results.average_mean assert_almost_equal(avg_mean, expected_mean) - # Expected values update after applying coordinates wrap + @pytest.mark.parametrize('x_bin, y_bin, expected_surface', [ (3, 3, np.array([[150., 120., 150.],