<html><body>
<p>1 new commit in yt:</p>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/35a1eb08de41/">https://bitbucket.org/yt_analysis/yt/commits/35a1eb08de41/</a> Changeset: 35a1eb08de41 Branch: yt User: atmyers Date: 2016-04-29 17:24:31+00:00 Summary: Merged in hyschive/yt-hyschive (pull request #2141)</p>
<p>Allow users to completely specify the filename of a 1D profile Affected #: 1 file</p>
<p>diff -r e3f37d2893ac2696f4836980cfc0679f5ed7c399 -r 35a1eb08de41efe96e42804b49a6993098af311c yt/visualization/profile_plotter.py --- a/yt/visualization/profile_plotter.py +++ b/yt/visualization/profile_plotter.py @@ -248,6 +248,7 @@</p>
<pre> if not suffix:
suffix = "png"
suffix = ".%s" % suffix</pre>
<p>+ fullname = False</p>
<pre> if name is None:
if len(self.profiles) == 1:
prefix = self.profiles[0].ds</pre>
<p>@@ -259,6 +260,7 @@</p>
<pre>if sfx != '':
suffix = sfx
prefix = name[:name.rfind(suffix)]</pre>
<p>+ fullname = True</p>
<pre>else:
prefix = name
xfn = self.profiles[0].x_field</pre>
<p>@@ -270,7 +272,10 @@</p>
<pre>if isinstance(uid, tuple):
uid = uid[1]
canvas = canvas_cls(fig)</pre>
<ul><li><p>fns.append("%s_1d-Profile_%s_%s%s" % (prefix, xfn, uid, suffix))</p></li></ul>
<p>+ if fullname: + fns.append("%s%s" % (prefix, suffix)) + else: + fns.append("%s_1d-Profile_%s_%s%s" % (prefix, xfn, uid, suffix))</p>
<pre>mylog.info("Saving %s", fns[-1])
canvas.print_figure(fns[-1])
return fns</pre>
<p>Repository URL: <a href="https://bitbucket.org/yt_analysis/yt/">https://bitbucket.org/yt_analysis/yt/</a></p>
<p>—</p>
<p>This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.</p>
<img src="http://link.bitbucket.org/wf/open?upn=ll4ctv0L-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27Cgu2AeQMSdzpVKTFIx-2BAdnD19BpCUzQ89CjVQEbC6ovBsWG7ABb96S8Haby0RuIC9x6p1wOv2ED7oM0lROS5TfNGQ8G1b7Z1RfW3deb8JCOiri8k3edkCK-2FFxuH1pjsEA12EX85Ln0t5ayw5OaZFB-2BaSgLT2hcPcUCzYLbg623rjP1PgTEm9Fsk6t7EEPi5-2FE-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>