[yt-svn] commit/yt: chummels: Fixing a bug with the halo_merger_tree whereby I make sure the output plots go into the specified directory.
Bitbucket
commits-noreply at bitbucket.org
Tue Feb 19 14:07:11 PST 2013
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/93ca9ea45b77/
changeset: 93ca9ea45b77
branch: yt
user: chummels
date: 2013-02-19 23:05:54
summary: Fixing a bug with the halo_merger_tree whereby I make sure the output plots go into the specified directory.
affected #: 1 file
diff -r 7f49529e1bb679fec9ac51b09ccdf2aaa4b03719 -r 93ca9ea45b7765e77b770503be39e2166631ab16 yt/analysis_modules/halo_merger_tree/enzofof_merger_tree.py
--- a/yt/analysis_modules/halo_merger_tree/enzofof_merger_tree.py
+++ b/yt/analysis_modules/halo_merger_tree/enzofof_merger_tree.py
@@ -810,6 +810,6 @@
ax.set_xscale("log")
if y_log:
ax.set_yscale("log")
- ofn = "%s_%s_%s.png" % (basename, fields[0], fields[1])
+ ofn = "%s/%s_%s_%s.png" % (FOF_directory, basename, fields[0], fields[1])
plt.savefig(ofn)
plt.clf()
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