[yt-svn] commit/yt: 2 new changesets

Bitbucket commits-noreply at bitbucket.org
Mon Apr 2 14:22:27 PDT 2012


2 new commits in yt:


https://bitbucket.org/yt_analysis/yt/changeset/bee5a1cf8efe/
changeset:   bee5a1cf8efe
branch:      yt
user:        ngoldbaum
date:        2012-04-02 23:20:41
summary:     Indentation error.
affected #:  1 file

diff -r 77fc8ecc6992ae4b832c03f1c000e54cada39095 -r bee5a1cf8efe0c26a103750e6f6f2c02cb882575 yt/frontends/flash/data_structures.py
--- a/yt/frontends/flash/data_structures.py
+++ b/yt/frontends/flash/data_structures.py
@@ -342,13 +342,15 @@
                 for varname, val in zip(self._handle[hn][:,'name'],
                                         self._handle[hn][:,'value']):
                     vn = varname.strip()
+                    if vn == 'xmin':
+                        pdb.set_trace()
                     if hn.startswith("string") :
                         pval = val.strip()
                     else :
                         pval = val
                     if vn in self.parameters and self.parameters[vn] != pval:
                         mylog.warning("{0} {1} overwrites a simulation scalar of the same name".format(hn[:-1],vn)) 
-                        self.parameters[vn] = pval
+                    self.parameters[vn] = pval
         if self._flash_version == 7:
             for hn in hns:
                 if hn not in self._handle:



https://bitbucket.org/yt_analysis/yt/changeset/a71d3a2b8a9e/
changeset:   a71d3a2b8a9e
branch:      yt
user:        ngoldbaum
date:        2012-04-02 23:21:05
summary:     Removing a call to pdb.
affected #:  1 file

diff -r bee5a1cf8efe0c26a103750e6f6f2c02cb882575 -r a71d3a2b8a9e875f6b9c535233c3123d8e505360 yt/frontends/flash/data_structures.py
--- a/yt/frontends/flash/data_structures.py
+++ b/yt/frontends/flash/data_structures.py
@@ -342,8 +342,6 @@
                 for varname, val in zip(self._handle[hn][:,'name'],
                                         self._handle[hn][:,'value']):
                     vn = varname.strip()
-                    if vn == 'xmin':
-                        pdb.set_trace()
                     if hn.startswith("string") :
                         pval = val.strip()
                     else :

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