Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Henley13 committed May 5, 2020
1 parent 7e46465 commit ed2e341
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bigfish/stack/tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
from numpy.testing import assert_array_equal

# TODO test bigfish.stack.read_array_from_csv
# TODO test bigfish.stack.read_cell_extracted
# TODO test bigfish.stack.save_array_to_csv
# TODO test bigfish.stack.save_cell_extracted


@pytest.mark.parametrize("shape", [
Expand Down Expand Up @@ -154,7 +156,7 @@ def test_npz(shape, dtype):
test_2 = np.ones(shape, dtype=dtype)
path = os.path.join(tmp_dir, "test.npz")
np.savez(path, test_1=test_1, test_2=test_2)
data = stack.read_compressed(path)
data = stack.read_uncompressed(path)
assert data.files == ["test_1", "test_2"]
assert_array_equal(test_1, data["test_1"])
assert_array_equal(test_2, data["test_2"])
Expand Down

0 comments on commit ed2e341

Please sign in to comment.