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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Sep 9 08:46:55 PDT 2013


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/007b6370684d/
Changeset:   007b6370684d
Branch:      yt
User:        brittonsmith
Date:        2013-09-09 17:43:14
Summary:     HaloProfiler output_dir keyword now works if specified dir requires a recursive mkdir.
Affected #:  1 file

diff -r fece1b2549ab3943adbb8e9a113277826593a99d -r 007b6370684d0592d8bf2d0185979b8a43751c8f yt/analysis_modules/halo_profiler/multi_halo_profiler.py
--- a/yt/analysis_modules/halo_profiler/multi_halo_profiler.py
+++ b/yt/analysis_modules/halo_profiler/multi_halo_profiler.py
@@ -1254,7 +1254,7 @@
                 mylog.error("Output directory exists, but is not a directory: %s." % my_output_dir)
                 raise IOError(my_output_dir)
         else:
-            os.mkdir(my_output_dir)
+            os.makedirs(my_output_dir)
 
 def _shift_projections(pf, projections, oldCenter, newCenter, axis):
     """


https://bitbucket.org/yt_analysis/yt/commits/079e456c38a8/
Changeset:   079e456c38a8
Branch:      yt
User:        MatthewTurk
Date:        2013-09-09 17:46:51
Summary:     Merged in brittonsmith/yt (pull request #594)

HaloProfiler output_dir keyword now works if specified dir requires a recursive mkdir. (fixes Issue #656)
Affected #:  1 file

diff -r 0198f4b1286d990204fd3fedb207dea18b436d0b -r 079e456c38a87676472a458210077e2be325dc85 yt/analysis_modules/halo_profiler/multi_halo_profiler.py
--- a/yt/analysis_modules/halo_profiler/multi_halo_profiler.py
+++ b/yt/analysis_modules/halo_profiler/multi_halo_profiler.py
@@ -1254,7 +1254,7 @@
                 mylog.error("Output directory exists, but is not a directory: %s." % my_output_dir)
                 raise IOError(my_output_dir)
         else:
-            os.mkdir(my_output_dir)
+            os.makedirs(my_output_dir)
 
 def _shift_projections(pf, projections, oldCenter, newCenter, axis):
     """

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