<html><body>
<p>3 new commits in yt:</p>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/c4ee15ee6327/">https://bitbucket.org/yt_analysis/yt/commits/c4ee15ee6327/</a> Changeset: c4ee15ee6327 Branch: yt User: chummels Date: 2016-04-27 01:49:17+00:00 Summary: Adding int wrapper to avoid deprecation warning from numpy Affected #: 1 file</p>
<p>diff -r 843a342ee5101c18f9acf8a490bdea39d4ee0fc2 -r c4ee15ee632742c2612f474b4a12c1e07b482fc0 yt/analysis_modules/absorption_spectrum/absorption_spectrum.py --- a/yt/analysis_modules/absorption_spectrum/absorption_spectrum.py +++ b/yt/analysis_modules/absorption_spectrum/absorption_spectrum.py @@ -453,8 +453,8 @@</p>
<pre>EW = np.zeros(right_index - left_index)
EW_indices = np.arange(left_index, right_index)
for k, val in enumerate(EW_indices):</pre>
<ul><li><p>EW[k] = vEW[n_vbins_per_bin[i] * k: \</p></li>
<li><p>n_vbins_per_bin[i] * (k + 1)].sum()</p></li></ul>
<p>+ EW[k] = vEW[int(n_vbins_per_bin[i]) * k: \ + int(n_vbins_per_bin[i]) * (k + 1)].sum()</p>
<pre> EW = EW/self.bin_width.d
# only deposit EW bins that actually intersect the original</pre>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/7b1b38ba68ed/">https://bitbucket.org/yt_analysis/yt/commits/7b1b38ba68ed/</a> Changeset: 7b1b38ba68ed Branch: yt User: chummels Date: 2016-04-27 01:49:48+00:00 Summary: Merging. Affected #: 2 files</p>
<p>diff -r c4ee15ee632742c2612f474b4a12c1e07b482fc0 -r 7b1b38ba68ed006ecab2ffadc96143a55a90b291 doc/install_script.sh --- a/doc/install_script.sh +++ b/doc/install_script.sh @@ -994,6 +994,17 @@</p>
<pre> cd ..
fi
</pre>
<p>+ ( ${DEST_DIR}/bin/python -c “import _ssl” 2>&1 ) 1>> ${LOG_FILE} + RESULT=$? + if [ $RESULT -ne 0 ] + then + echo “Unable to import the python SSL bindings.” + echo “This means that OpenSSL is not installed or your system's OpenSSL” + echo “installation is out of date.” + echo “Please install OpenSSL or set INST_CONDA=1” + do_exit + fi +</p>
<pre>if [ $INST_PY3 -eq 1 ]
then
if [ ! -e $PYTHON3/done ]</pre>
<p>diff -r c4ee15ee632742c2612f474b4a12c1e07b482fc0 -r 7b1b38ba68ed006ecab2ffadc96143a55a90b291 yt/visualization/plot_window.py --- a/yt/visualization/plot_window.py +++ b/yt/visualization/plot_window.py @@ -961,6 +961,7 @@</p>
<pre> callback.__doc__ = CallbackMaker.__doc__
self.__dict__['annotate_'+cbname] = types.MethodType(callback,self)
</pre>
<p>+ @invalidate_plot</p>
<pre>def annotate_clear(self, index=None):
"""
Clear callbacks from the plot. If index is not set, clear all</pre>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/b02a8c47c9d0/">https://bitbucket.org/yt_analysis/yt/commits/b02a8c47c9d0/</a> Changeset: b02a8c47c9d0 Branch: yt User: chummels Date: 2016-04-27 13:31:03+00:00 Summary: Changing n_vbins_per_bin to be an int array at construction Affected #: 1 file</p>
<p>diff -r 7b1b38ba68ed006ecab2ffadc96143a55a90b291 -r b02a8c47c9d06013580dba4e5d559a5974d37ccb yt/analysis_modules/absorption_spectrum/absorption_spectrum.py --- a/yt/analysis_modules/absorption_spectrum/absorption_spectrum.py +++ b/yt/analysis_modules/absorption_spectrum/absorption_spectrum.py @@ -394,7 +394,8 @@</p>
<pre># 10; this will assure we don't get spikes in the deposited
# spectra from uneven numbers of vbins per bin
resolution = thermal_width / self.bin_width</pre>
<ul><li><p>n_vbins_per_bin = 10**(np.ceil(np.log10(subgrid_resolution/resolution)).clip(0, np.inf))</p></li></ul>
<p>+ n_vbins_per_bin = (10 ** (np.ceil( np.log10( subgrid_resolution / + resolution) ).clip(0, np.inf) ) ).astype('int')</p>
<pre> vbin_width = self.bin_width.d / n_vbins_per_bin
# a note to the user about which lines components are unresolved</pre>
<p>@@ -453,8 +454,8 @@</p>
<pre>EW = np.zeros(right_index - left_index)
EW_indices = np.arange(left_index, right_index)
for k, val in enumerate(EW_indices):</pre>
<ul><li><p>EW[k] = vEW[int(n_vbins_per_bin[i]) * k: \</p></li>
<li><p>int(n_vbins_per_bin[i]) * (k + 1)].sum()</p></li></ul>
<p>+ EW[k] = vEW[n_vbins_per_bin[i] * k: \ + n_vbins_per_bin[i] * (k + 1)].sum()</p>
<pre> EW = EW/self.bin_width.d
# only deposit EW bins that actually intersect the original</pre>
<p>Repository URL: <a href="https://bitbucket.org/yt_analysis/yt/">https://bitbucket.org/yt_analysis/yt/</a></p>
<p>—</p>
<p>This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.</p>
<img src="http://link.bitbucket.org/wf/open?upn=ll4ctv0L-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27ASRLlQvfvtSLyHBqXD3Xeq02gfYNkguq5R-2Bk30N4XR87mK7K-2FmbpRN-2BJpHNn84E7aRzF2ovn6-2FpTlrQ6mTiEgbaRDsUF6jeTxgRhF55jOwNGn0pQncCtOL1nPzkxz6aMt-2Bd-2BusVkHAP-2BoU2Gtg-2BDBUwFYtShKfoEuvRB7AytGao1I7xlT8R-2Bi2jJuO6GoqzRs-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>