[yt-svn] commit/yt: 4 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Oct 24 12:52:20 PDT 2016
4 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/8eaf4b392b4c/
Changeset: 8eaf4b392b4c
Branch: yt
User: ngoldbaum
Date: 2016-10-09 18:33:15+00:00
Summary: Explicitly use integer division to avoid a deprecation warning under python3
Affected #: 1 file
diff -r 7241a78e40e551cc3eb0276eb007a81327c48e42 -r 8eaf4b392b4c9f3a6a2792e0c8252ca09cacf982 yt/data_objects/grid_patch.py
--- a/yt/data_objects/grid_patch.py
+++ b/yt/data_objects/grid_patch.py
@@ -184,8 +184,8 @@
if dlevel != 1:
rf = rf**dlevel
gi, cgi = self.get_global_startindex(), child.get_global_startindex()
- startIndex = np.maximum(0, cgi / rf - gi)
- endIndex = np.minimum((cgi + child.ActiveDimensions) / rf - gi,
+ startIndex = np.maximum(0, cgi // rf - gi)
+ endIndex = np.minimum((cgi + child.ActiveDimensions) // rf - gi,
self.ActiveDimensions)
endIndex += (startIndex == endIndex)
mask[startIndex[0]:endIndex[0],
https://bitbucket.org/yt_analysis/yt/commits/1cd2be11035c/
Changeset: 1cd2be11035c
Branch: yt
User: ngoldbaum
Date: 2016-10-24 16:49:37+00:00
Summary: increment answer numbers
Affected #: 1 file
diff -r 8eaf4b392b4c9f3a6a2792e0c8252ca09cacf982 -r 1cd2be11035c66ba3ef87bed8552dde2737fced2 tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -5,16 +5,16 @@
local_athena_001:
- yt/frontends/athena
- local_chombo_000:
+ local_chombo_001:
- yt/frontends/chombo/tests/test_outputs.py
- local_enzo_001:
+ local_enzo_002:
- yt/frontends/enzo
local_fits_000:
- yt/frontends/fits/tests/test_outputs.py
- local_flash_002:
+ local_flash_003:
- yt/frontends/flash/tests/test_outputs.py
local_gadget_000:
@@ -39,7 +39,7 @@
local_owls_000:
- yt/frontends/owls/tests/test_outputs.py
- local_pw_008:
+ local_pw_009:
- yt/visualization/tests/test_plotwindow.py:test_attributes
- yt/visualization/tests/test_plotwindow.py:test_attributes_wt
- yt/visualization/tests/test_profile_plots.py:test_phase_plot_attributes
https://bitbucket.org/yt_analysis/yt/commits/fb9bfcca3de6/
Changeset: fb9bfcca3de6
Branch: yt
User: ngoldbaum
Date: 2016-10-24 16:57:09+00:00
Summary: fix this bug in the boxlib frontend too
Affected #: 1 file
diff -r 1cd2be11035c66ba3ef87bed8552dde2737fced2 -r fb9bfcca3de647c94a4ac10972b62e5a69b5db26 yt/frontends/boxlib/data_structures.py
--- a/yt/frontends/boxlib/data_structures.py
+++ b/yt/frontends/boxlib/data_structures.py
@@ -126,8 +126,8 @@
if dlevel != 1:
raise NotImplementedError
gi, cgi = self.get_global_startindex(), child.get_global_startindex()
- startIndex = np.maximum(0, cgi / rf - gi)
- endIndex = np.minimum((cgi + child.ActiveDimensions) / rf - gi,
+ startIndex = np.maximum(0, cgi // rf - gi)
+ endIndex = np.minimum((cgi + child.ActiveDimensions) // rf - gi,
self.ActiveDimensions)
endIndex += (startIndex == endIndex)
mask[startIndex[0]:endIndex[0],
https://bitbucket.org/yt_analysis/yt/commits/dbab762ab74b/
Changeset: dbab762ab74b
Branch: yt
User: xarthisius
Date: 2016-10-24 19:51:51+00:00
Summary: Merged in ngoldbaum/yt (pull request #2412)
Explicitly use integer division to avoid a deprecation warning under python3
Affected #: 3 files
diff -r 34a95afc68047ab60ddf5a20816dfb80291cd99b -r dbab762ab74b1034cd4dd071192fde5c216b7c21 tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -5,16 +5,16 @@
local_athena_001:
- yt/frontends/athena
- local_chombo_000:
+ local_chombo_001:
- yt/frontends/chombo/tests/test_outputs.py
- local_enzo_001:
+ local_enzo_002:
- yt/frontends/enzo
local_fits_000:
- yt/frontends/fits/tests/test_outputs.py
- local_flash_002:
+ local_flash_003:
- yt/frontends/flash/tests/test_outputs.py
local_gadget_000:
@@ -39,7 +39,7 @@
local_owls_000:
- yt/frontends/owls/tests/test_outputs.py
- local_pw_008:
+ local_pw_009:
- yt/visualization/tests/test_plotwindow.py:test_attributes
- yt/visualization/tests/test_plotwindow.py:test_attributes_wt
- yt/visualization/tests/test_profile_plots.py:test_phase_plot_attributes
diff -r 34a95afc68047ab60ddf5a20816dfb80291cd99b -r dbab762ab74b1034cd4dd071192fde5c216b7c21 yt/data_objects/grid_patch.py
--- a/yt/data_objects/grid_patch.py
+++ b/yt/data_objects/grid_patch.py
@@ -184,8 +184,8 @@
if dlevel != 1:
rf = rf**dlevel
gi, cgi = self.get_global_startindex(), child.get_global_startindex()
- startIndex = np.maximum(0, cgi / rf - gi)
- endIndex = np.minimum((cgi + child.ActiveDimensions) / rf - gi,
+ startIndex = np.maximum(0, cgi // rf - gi)
+ endIndex = np.minimum((cgi + child.ActiveDimensions) // rf - gi,
self.ActiveDimensions)
endIndex += (startIndex == endIndex)
mask[startIndex[0]:endIndex[0],
diff -r 34a95afc68047ab60ddf5a20816dfb80291cd99b -r dbab762ab74b1034cd4dd071192fde5c216b7c21 yt/frontends/boxlib/data_structures.py
--- a/yt/frontends/boxlib/data_structures.py
+++ b/yt/frontends/boxlib/data_structures.py
@@ -126,8 +126,8 @@
if dlevel != 1:
raise NotImplementedError
gi, cgi = self.get_global_startindex(), child.get_global_startindex()
- startIndex = np.maximum(0, cgi / rf - gi)
- endIndex = np.minimum((cgi + child.ActiveDimensions) / rf - gi,
+ startIndex = np.maximum(0, cgi // rf - gi)
+ endIndex = np.minimum((cgi + child.ActiveDimensions) // rf - gi,
self.ActiveDimensions)
endIndex += (startIndex == endIndex)
mask[startIndex[0]:endIndex[0],
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