Skip to content

Commit

Permalink
fixed PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
ojeda-e committed Jul 30, 2021
1 parent 1ee79e9 commit ccacd8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions membrane_curvature/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://membrane-curvature.readthedocs.io/en/latest/source/pages/Usage.html>`_
page.
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion membrane_curvature/tests/test_membrane_curvature.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.],
Expand Down

0 comments on commit ccacd8f

Please sign in to comment.