Skip to content

Commit

Permalink
Merge branch 'develop' into release-0.12.1rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjgowers committed Oct 10, 2015
2 parents bd49cc9 + fdcbe82 commit fb1e050
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Fixes
keyword argument Universe(..., dt=<dt>)
* Fixed a bug in topology.core.guess_atom_element where a
single digit atom name would raise an IndexError (#476)
* Fixed numpy -> np in LeafletFinder

10/04/15 kain88-de, richardjgowers, dotsdl, sseyler, orbeckst, jbarnoud

Expand Down
2 changes: 1 addition & 1 deletion package/MDAnalysis/analysis/leaflet.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def _get_graph(self):

def _get_components(self):
"""Return connected components (as sorted numpy arrays), sorted by size."""
return [numpy.sort(component) for component in NX.connected_components(self.graph)]
return [np.sort(component) for component in NX.connected_components(self.graph)]

def update(self, cutoff=None):
"""Update components, possibly with a different *cutoff*"""
Expand Down

0 comments on commit fb1e050

Please sign in to comment.