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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Oct 10 09:01:19 PDT 2013


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/c6fdc4f63322/
Changeset:   c6fdc4f63322
Branch:      yt
User:        jzuhone
Date:        2013-10-09 15:25:59
Summary:     Making sure this passes silently if SZpack isn't installed and we don't want to make S-Z projections.
Affected #:  1 file

diff -r 8dbd32272376d5d6ddbe3c31b492360cf4f1d283 -r c6fdc4f633224171edf44a09493e261b84ce9eb7 yt/analysis_modules/sunyaev_zeldovich/projection.py
--- a/yt/analysis_modules/sunyaev_zeldovich/projection.py
+++ b/yt/analysis_modules/sunyaev_zeldovich/projection.py
@@ -33,8 +33,8 @@
         
 try:
     import SZpack
-except:
-    raise ImportError("SZpack not installed. It can be obtained from from http://www.chluba.de/SZpack/.")
+except ImportError:
+    pass
 
 vlist = "xyz"
 


https://bitbucket.org/yt_analysis/yt/commits/725c3037c6e7/
Changeset:   725c3037c6e7
Branch:      yt
User:        MatthewTurk
Date:        2013-10-10 18:01:13
Summary:     Merged in jzuhone/yt (pull request #612)

Don't bail out on importing the analysis_modules api if SZpack isn't installed.
Affected #:  1 file

diff -r edd779faeda548dec4810427f85760f5b5118f46 -r 725c3037c6e7be96c5eff3c67103993251a36650 yt/analysis_modules/sunyaev_zeldovich/projection.py
--- a/yt/analysis_modules/sunyaev_zeldovich/projection.py
+++ b/yt/analysis_modules/sunyaev_zeldovich/projection.py
@@ -33,8 +33,8 @@
         
 try:
     import SZpack
-except:
-    raise ImportError("SZpack not installed. It can be obtained from from http://www.chluba.de/SZpack/.")
+except ImportError:
+    pass
 
 vlist = "xyz"

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