Skip to content

Commit

Permalink
Merge branch 'main' into add_read_columns
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel authored Jan 23, 2025
2 parents 0cb0575 + d71c561 commit 39dcaad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/examples/test_ecephys_data_read.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ TEST_CASE("ElectricalSeriesReadExample", "[ecephys]")
// [example_read_generic_dataset_field_snippet]

// [example_read_generic_registeredtype_field_snippet]
// read the NWBFile
auto readNWBFile =
NWB::RegisteredType::create<AQNWB::NWB::NWBFile>("/", readio);
// read the ElectricalSeries from the NWBFile object via the readField
// method returning a generic std::shared_ptr<RegisteredType>
auto readRegisteredType = readNWBFile->readField(esdata_path);
Expand Down

0 comments on commit 39dcaad

Please sign in to comment.