From b20388c4ccec6119d3ed4d1396b2a9cb2fa0b3b2 Mon Sep 17 00:00:00 2001 From: Steph Prince <40640337+stephprince@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:40:52 -0800 Subject: [PATCH] update example to use readonly --- tests/examples/test_ecephys_data_read.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/examples/test_ecephys_data_read.cpp b/tests/examples/test_ecephys_data_read.cpp index b997164..0a44fdd 100644 --- a/tests/examples/test_ecephys_data_read.cpp +++ b/tests/examples/test_ecephys_data_read.cpp @@ -182,7 +182,7 @@ TEST_CASE("ElectricalSeriesReadExample", "[ecephys]") // Open a new I/O for reading std::shared_ptr readio = createIO("HDF5", path); - readio->open(); + readio->open(FileMode::ReadOnly); // [example_search_types_snippet] std::unordered_set typesToSearch = {"core::ElectricalSeries"};