[yt-svn] commit/yt: 3 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed Feb 28 10:05:57 PST 2018
3 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/60f414457848/
Changeset: 60f414457848
User: ngoldbaum
Date: 2018-02-27 20:43:27+00:00
Summary: Ensure FLASH field accesses return data as a float64 dtype
Affected #: 1 file
diff -r 23ef6350538f073de4e759e54832088055af7a3a -r 60f414457848c9af667eb61a9a91d1b308a4982f yt/frontends/flash/io.py
--- a/yt/frontends/flash/io.py
+++ b/yt/frontends/flash/io.py
@@ -130,7 +130,7 @@
data = ds[obj.id - obj._id_offset, :,:,:].transpose()
else:
data = ds[offset, :,:,:].transpose()
- return data
+ return data.astype('=f8')
def _read_chunk_data(self, chunk, fields):
f = self._handle
https://bitbucket.org/yt_analysis/yt/commits/ffa367e5ab7b/
Changeset: ffa367e5ab7b
User: ngoldbaum
Date: 2018-02-27 21:39:06+00:00
Summary: bump FLASH answer number
Affected #: 1 file
diff -r 60f414457848c9af667eb61a9a91d1b308a4982f -r ffa367e5ab7b72355686c007dfde4a39618ed0f1 tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -20,7 +20,7 @@
local_fits_002:
- yt/frontends/fits/tests/test_outputs.py
- local_flash_008:
+ local_flash_009:
- yt/frontends/flash/tests/test_outputs.py
local_gadget_001:
https://bitbucket.org/yt_analysis/yt/commits/3e800269fe41/
Changeset: 3e800269fe41
User: ngoldbaum
Date: 2018-02-28 18:05:23+00:00
Summary: Merge pull request #1708 from ngoldbaum/flash-grid-io-dtype
Ensure FLASH field accesses return data as a float64 dtype
Affected #: 2 files
diff -r 23ef6350538f073de4e759e54832088055af7a3a -r 3e800269fe418632ebcb59574d9919fa819c1b48 tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -20,7 +20,7 @@
local_fits_002:
- yt/frontends/fits/tests/test_outputs.py
- local_flash_008:
+ local_flash_009:
- yt/frontends/flash/tests/test_outputs.py
local_gadget_001:
diff -r 23ef6350538f073de4e759e54832088055af7a3a -r 3e800269fe418632ebcb59574d9919fa819c1b48 yt/frontends/flash/io.py
--- a/yt/frontends/flash/io.py
+++ b/yt/frontends/flash/io.py
@@ -130,7 +130,7 @@
data = ds[obj.id - obj._id_offset, :,:,:].transpose()
else:
data = ds[offset, :,:,:].transpose()
- return data
+ return data.astype('=f8')
def _read_chunk_data(self, chunk, fields):
f = self._handle
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