Skip to content

Commit

Permalink
update example to use readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
stephprince committed Dec 12, 2024
1 parent a91cc91 commit b20388c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/examples/test_ecephys_data_read.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ TEST_CASE("ElectricalSeriesReadExample", "[ecephys]")

// Open a new I/O for reading
std::shared_ptr<BaseIO> readio = createIO("HDF5", path);
readio->open();
readio->open(FileMode::ReadOnly);

// [example_search_types_snippet]
std::unordered_set<std::string> typesToSearch = {"core::ElectricalSeries"};
Expand Down

0 comments on commit b20388c

Please sign in to comment.