Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Jul 12, 2024
1 parent 62a3ae5 commit c8da35f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pynwb/tests/test_example_usage_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,11 @@ def test_all_classes():
npt.assert_array_equal(read_contacts_table["contact_id"].data[:], ["C1", "C2"])
npt.assert_array_equal(read_contacts_table["shank_id"].data[:], ["shank0", "shank0"])
npt.assert_array_equal(
read_contacts_table["plane_axes"].data[:], [[[0.0, 1.0], [1.0, 0.0]], [[0.0, 1.0], [1.0, 0.0]]]
read_contacts_table["plane_axes"].data[:],
[
[[1.0, 0.0], [0.0, 1.0]],
[[1 / np.sqrt(2), 1 / np.sqrt(2)], [-1 / np.sqrt(2), 1 / np.sqrt(2)]],
],
)
npt.assert_array_equal(read_contacts_table["radius_in_um"].data[:], [10.0, np.nan])
npt.assert_array_equal(read_contacts_table["width_in_um"].data[:], [np.nan, 10.0])
Expand Down

0 comments on commit c8da35f

Please sign in to comment.