[yt-svn] commit/yt: 3 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Oct 16 08:21:32 PDT 2014
3 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/c8454546f981/
Changeset: c8454546f981
Branch: yt
User: jzuhone
Date: 2014-10-14 23:50:46+00:00
Summary: Skip binary tables if this isn't an events file.
Affected #: 1 file
diff -r bcd4895dd0021a121432cf8b50a4df7306064eba -r c8454546f981f8151c22955ab483113592777ef9 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:
https://bitbucket.org/yt_analysis/yt/commits/1642d3addf3a/
Changeset: 1642d3addf3a
Branch: yt
User: jzuhone
Date: 2014-10-16 14:25:40+00:00
Summary: Fixing tab/space issue.
Affected #: 1 file
diff -r c8454546f981f8151c22955ab483113592777ef9 -r 1642d3addf3aa11d50f52046b7e995d7ebead0eb yt/frontends/fits/data_structures.py
--- a/yt/frontends/fits/data_structures.py
+++ b/yt/frontends/fits/data_structures.py
@@ -157,8 +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 isinstance(hdu, _astropy.pyfits.BinTableHDU):
+ continue
if self._ensure_same_dims(hdu):
units = self._determine_image_units(hdu.header, known_units)
try:
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