[yt-svn] commit/yt: 3 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Mar 25 16:28:35 PDT 2014


3 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/d919c3c6e81f/
Changeset:   d919c3c6e81f
Branch:      yt-3.0
User:        ngoldbaum
Date:        2014-03-25 21:23:59
Summary:     Disable astropy exception logging.
Affected #:  1 file

diff -r 9594ac19008f7f6b936538bea4f109926a073e74 -r d919c3c6e81f6853c3327bf3c6189a8f9d40b94c yt/frontends/fits/data_structures.py
--- a/yt/frontends/fits/data_structures.py
+++ b/yt/frontends/fits/data_structures.py
@@ -13,6 +13,9 @@
 try:
     import astropy.io.fits as pyfits
     import astropy.wcs as pywcs
+    from astropy import log
+    log.disable_warnings_logging()
+    log.disable_exception_logging()
 except ImportError:
     pass
 


https://bitbucket.org/yt_analysis/yt/commits/8922c0c435ab/
Changeset:   8922c0c435ab
Branch:      yt-3.0
User:        ngoldbaum
Date:        2014-03-26 00:23:42
Summary:     Allow astropy to raise warnings.
Affected #:  1 file

diff -r d919c3c6e81f6853c3327bf3c6189a8f9d40b94c -r 8922c0c435abc73f64655a14118cb59a646cf662 yt/frontends/fits/data_structures.py
--- a/yt/frontends/fits/data_structures.py
+++ b/yt/frontends/fits/data_structures.py
@@ -14,7 +14,6 @@
     import astropy.io.fits as pyfits
     import astropy.wcs as pywcs
     from astropy import log
-    log.disable_warnings_logging()
     log.disable_exception_logging()
 except ImportError:
     pass


https://bitbucket.org/yt_analysis/yt/commits/2ebc6b35e954/
Changeset:   2ebc6b35e954
Branch:      yt-3.0
User:        jzuhone
Date:        2014-03-26 00:28:29
Summary:     Merged in ngoldbaum/yt/yt-3.0 (pull request #763)

Disable astropy exception and warning logging.
Affected #:  1 file

diff -r 3bbad51fdb0c8e193ce0dba5aaab7754fbe486f1 -r 2ebc6b35e95478f5189f8953f8a9cc0155a43274 yt/frontends/fits/data_structures.py
--- a/yt/frontends/fits/data_structures.py
+++ b/yt/frontends/fits/data_structures.py
@@ -13,6 +13,8 @@
 try:
     import astropy.io.fits as pyfits
     import astropy.wcs as pywcs
+    from astropy import log
+    log.disable_exception_logging()
 except ImportError:
     pass

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