<html><body>
<p>2 new commits in yt:</p>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/0d9a30a00543/">https://bitbucket.org/yt_analysis/yt/commits/0d9a30a00543/</a> Changeset: 0d9a30a00543 Branch: yt User: hyschive Date: 2016-04-25 21:54:26+00:00 Summary: Allow users to completely specify the filename of a 1D profile Affected #: 1 file</p>
<p>diff -r 77db965d0a537a9884d6db3c5ad7595dc3070ba0 -r 0d9a30a00543fdf667b54118ca7b0024997f762e 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><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-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27BFCDP5qYwZh-2FGHyvoMHYkQziKPtMaJQQxb8kHs4e4WgQZaJrlrjMQgW3BKmG5HMc7HXAMTGrLGwBrpMte5zS4YxlKgyb99e-2FW1-2BLAPkmpKwt0kueIcm74w7DMotNtI7aVRiK-2BY5FHCDBZqNBV-2FOfHMiU0bixRgmbbLhHZ-2FnrmG0G9-2FRqV9L7ZnxhqbODqjcTY-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>