[yt-svn] commit/yt: MatthewTurk: Merged in xarthisius/yt (pull request #1221)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Sep 29 09:19:21 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/64c466c241dc/
Changeset: 64c466c241dc
Branch: yt
User: MatthewTurk
Date: 2014-09-29 16:19:11+00:00
Summary: Merged in xarthisius/yt (pull request #1221)
[bugfix] FITSProjection class was missed during refactorization of 'get_sanitize_center'
Affected #: 1 file
diff -r 0ec4771f624fd3b39661861f3f57ae065e36c938 -r 64c466c241dccbffa835bfe3c8ee042996a03273 yt/utilities/fits_image.py
--- a/yt/utilities/fits_image.py
+++ b/yt/utilities/fits_image.py
@@ -341,7 +341,7 @@
def __init__(self, ds, axis, fields, center="c", weight_field=None, **kwargs):
fields = ensure_list(fields)
axis = fix_axis(axis, ds)
- center = get_sanitized_center(center, ds)
+ center = ds.coordinates.sanitize_center(center, axis)
prj = ds.proj(fields[0], axis, weight_field=weight_field, **kwargs)
w, frb = construct_image(prj, center=center)
super(FITSProjection, self).__init__(frb, fields=fields, wcs=w)
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