climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject [1/8] climate git commit: CLIMATE-636 - Fix Bounds __str__ formatting
Date Mon, 01 Jun 2015 18:02:34 GMT
Repository: climate
Updated Branches:
  refs/heads/master 6ab02d8f6 -> e8384204c


CLIMATE-636 - Fix Bounds __str__ formatting


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/52d222b8
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/52d222b8
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/52d222b8

Branch: refs/heads/master
Commit: 52d222b8f978c9ac9d072239f7387713e7880a01
Parents: 6ab02d8
Author: Michael Joyce <joyce@apache.org>
Authored: Wed May 27 15:38:55 2015 -0700
Committer: Michael Joyce <joyce@apache.org>
Committed: Wed May 27 15:38:55 2015 -0700

----------------------------------------------------------------------
 ocw/dataset.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/52d222b8/ocw/dataset.py
----------------------------------------------------------------------
diff --git a/ocw/dataset.py b/ocw/dataset.py
index d33bdd4..e432928 100644
--- a/ocw/dataset.py
+++ b/ocw/dataset.py
@@ -360,8 +360,8 @@ class Bounds(object):
         self._end = value
 
     def __str__(self):
-        lat_range = "({}, {})".format(self._lat_min, self._lon_min)
-        lon_range = "({}, {})".format(self._lon_min, self._lon_min)
+        lat_range = "({}, {})".format(self._lat_min, self._lat_max)
+        lon_range = "({}, {})".format(self._lon_min, self._lon_max)
         time_range = "({}, {})".format(self._start, self._end)
 
         formatted_repr = (


Mime
View raw message