diff --git a/.github/PULL_REQUEST_TEMPLATE/release.md b/.github/PULL_REQUEST_TEMPLATE/release.md index 4ba356c8e..11bd20bfa 100644 --- a/.github/PULL_REQUEST_TEMPLATE/release.md +++ b/.github/PULL_REQUEST_TEMPLATE/release.md @@ -16,6 +16,8 @@ Prepare for release of HDMF [version] (`pytest && python test_gallery.py`) - [ ] Run PyNWB tests locally including gallery and validation tests, and inspect all warnings and outputs (`cd pynwb; python test.py -v > out.txt 2>&1`) +- [ ] Run HDMF-Zarr tests locally including gallery and validation tests, and inspect all warnings and outputs + (`cd hdmf-zarr; pytest && python test_gallery.py`) - [ ] Test docs locally and inspect all warnings and outputs `cd docs; make clean && make html` - [ ] Push changes to this PR and make sure all PRs to be included in this release have been merged - [ ] Check that the readthedocs build for this PR succeeds (build latest to pull the new branch, then activate and diff --git a/README.rst b/README.rst index c95cae568..6717831b7 100644 --- a/README.rst +++ b/README.rst @@ -39,6 +39,9 @@ Overall Health .. image:: https://github.com/hdmf-dev/hdmf/actions/workflows/run_pynwb_tests.yml/badge.svg :target: https://github.com/hdmf-dev/hdmf/actions/workflows/run_pynwb_tests.yml +.. image:: https://github.com/hdmf-dev/hdmf/actions/workflows/run_hdmf_zarr_tests.yml/badge.svg + :target: https://github.com/hdmf-dev/hdmf/actions/workflows/run_hdmf_zarr_tests.yml + .. image:: https://github.com/hdmf-dev/hdmf/actions/workflows/run_all_tests.yml/badge.svg :target: https://github.com/hdmf-dev/hdmf/actions/workflows/run_all_tests.yml diff --git a/tests/unit/common/test_table.py b/tests/unit/common/test_table.py index 88f8ca07b..4f0ab6af5 100644 --- a/tests/unit/common/test_table.py +++ b/tests/unit/common/test_table.py @@ -565,9 +565,9 @@ def test_getitem_row_slice_with_step(self): rows = table[0:5:2] self.assertIsInstance(rows, pd.DataFrame) self.assertTupleEqual(rows.shape, (3, 3)) - self.assertEqual(rows.iloc[2][0], 5) - self.assertEqual(rows.iloc[2][1], 50.0) - self.assertEqual(rows.iloc[2][2], 'lizard') + self.assertEqual(rows.iloc[2].iloc[0], 5) + self.assertEqual(rows.iloc[2].iloc[1], 50.0) + self.assertEqual(rows.iloc[2].iloc[2], 'lizard') def test_getitem_invalid_keytype(self): table = self.with_spec()