Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indentation and import fix #2629

Merged
merged 1 commit into from
Mar 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package/MDAnalysis/analysis/density.py
Original file line number Diff line number Diff line change
Expand Up @@ -1194,8 +1194,8 @@ def notwithin_coordinates_factory(universe, sel1, sel2, cutoff,


.. deprecated:: 1.0.0
:func:`notwithin_coordinates_factory` is no longer supported and will be
removed in 2.0.0.
:func:`notwithin_coordinates_factory` is no longer supported and will be
removed in 2.0.0.
"""
# Benchmark of FABP system (solvent 3400 OH2, protein 2100 atoms) on G4 powerbook, 500 frames
# cpu/s relative speedup use_kdtree
Expand Down Expand Up @@ -1269,8 +1269,8 @@ def Bfactor2RMSF(B):


.. deprecated:: 1.0.0
:func:`Bfactor2RMSF` is no longer supported and will be removed in 2.0.0.
as part of the removal of the :func:`density_from_PDB` function.
:func:`Bfactor2RMSF` is no longer supported and will be removed in 2.0.0.
as part of the removal of the :func:`density_from_PDB` function.
"""
return np.sqrt(3. * B / 8.) / np.pi

Expand Down
2 changes: 1 addition & 1 deletion testsuite/MDAnalysisTests/analysis/test_density.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
from MDAnalysis.analysis import density

from MDAnalysisTests.datafiles import TPR, XTC, GRO, PDB_full
from unittest.mock import Mock, patch
from mock import Mock, patch
from MDAnalysisTests.util import block_import


Expand Down