Skip to content

Commit

Permalink
Fixing long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanwp committed May 1, 2018
1 parent 861f7c5 commit 31e9ef3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/iris/coords.py
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,8 @@ def collapsed(self, dims_to_collapse=None):
Replaces the points & bounds with a simple bounded region.
"""
# Ensure dims_to_collapse is a tuple to be able to pass through to numpy
# Ensure dims_to_collapse is a tuple to be able to pass
# through to numpy
if isinstance(dims_to_collapse, (int, np.integer)):
dims_to_collapse = (dims_to_collapse, )
if isinstance(dims_to_collapse, list):
Expand Down

0 comments on commit 31e9ef3

Please sign in to comment.