[yt-svn] commit/yt: brittonsmith: Fixing some progress bar spacing that was bugging me.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Nov 12 03:35:22 PST 2013


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/8edd9984fef0/
Changeset:   8edd9984fef0
Branch:      yt
User:        brittonsmith
Date:        2013-11-11 23:04:18
Summary:     Fixing some progress bar spacing that was bugging me.
Affected #:  2 files

diff -r 58580d4b9d81dfd7ab4f4ee4ee189ac1c055ef57 -r 8edd9984fef09ff48eb753a88e6305cd41760574 yt/data_objects/data_containers.py
--- a/yt/data_objects/data_containers.py
+++ b/yt/data_objects/data_containers.py
@@ -1950,7 +1950,7 @@
         grids_to_initialize = [g for g in self._grids if (g.Level == level)]
         zero_out = (level != self._max_level)
         if len(grids_to_initialize) == 0: return
-        pbar = get_pbar('Initializing tree % 2i / % 2i' \
+        pbar = get_pbar('Initializing tree % 2i / % 2i ' \
                           % (level, self._max_level), len(grids_to_initialize))
         start_index = np.empty(2, dtype="int64")
         dims = np.empty(2, dtype="int64")

diff -r 58580d4b9d81dfd7ab4f4ee4ee189ac1c055ef57 -r 8edd9984fef09ff48eb753a88e6305cd41760574 yt/frontends/enzo/data_structures.py
--- a/yt/frontends/enzo/data_structures.py
+++ b/yt/frontends/enzo/data_structures.py
@@ -297,7 +297,7 @@
         self.grids[0].Level = 0
         si, ei, LE, RE, fn, npart = [], [], [], [], [], []
         all = [si, ei, LE, RE, fn]
-        pbar = get_pbar("Parsing Hierarchy", self.num_grids)
+        pbar = get_pbar("Parsing Hierarchy ", self.num_grids)
         for grid_id in xrange(self.num_grids):
             pbar.update(grid_id)
             # We will unroll this list

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list