[yt-svn] commit/yt: ngoldbaum: Merged in jzuhone/yt (pull request #1257)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Oct 16 08:21:34 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/e425e97fcf9f/
Changeset: e425e97fcf9f
Branch: yt
User: ngoldbaum
Date: 2014-10-16 15:21:21+00:00
Summary: Merged in jzuhone/yt (pull request #1257)
[BUGFIX] Ignore FITS binary tables when determining output fields. Closes #920.
Affected #: 1 file
diff -r 9d022af9c4de627a45b1250f8c5427b9d8562989 -r e425e97fcf9f2f499febf16e6f16df3544cabee9 yt/frontends/fits/data_structures.py
--- a/yt/frontends/fits/data_structures.py
+++ b/yt/frontends/fits/data_structures.py
@@ -157,6 +157,8 @@
naxis4 = 1
for i, fits_file in enumerate(self.dataset._handle._fits_files):
for j, hdu in enumerate(fits_file):
+ if isinstance(hdu, _astropy.pyfits.BinTableHDU):
+ continue
if self._ensure_same_dims(hdu):
units = self._determine_image_units(hdu.header, known_units)
try:
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