From ddde29ae59dace6c6603482c4578f10262fce91f Mon Sep 17 00:00:00 2001 From: Steph Prince <40640337+stephprince@users.noreply.github.com> Date: Mon, 9 Sep 2024 20:33:24 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Oliver Ruebel --- src/BaseIO.hpp | 2 +- src/hdf5/HDF5IO.hpp | 2 +- src/nwb/NWBFile.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BaseIO.hpp b/src/BaseIO.hpp index bda4f68e..737b376b 100644 --- a/src/BaseIO.hpp +++ b/src/BaseIO.hpp @@ -293,7 +293,7 @@ class BaseIO const std::string& path) = 0; /** - * @brief Checks whether an object already exists at the location in the file. + * @brief Checks whether a Dataset, Group, or Link already exists at the location in the file. * @param path The location of the object in the file. * @return Whether the object exists. */ diff --git a/src/hdf5/HDF5IO.hpp b/src/hdf5/HDF5IO.hpp index 5733309c..2ae1c6a8 100644 --- a/src/hdf5/HDF5IO.hpp +++ b/src/hdf5/HDF5IO.hpp @@ -235,7 +235,7 @@ class HDF5IO : public BaseIO const std::string& path) override; /** - * @brief Checks whether an object already exists at the location in the file. + * @brief Checks whether a Dataset, Group, or Link already exists at the location in the file. * @param path The location of the object in the file. * @return Whether the object exists. */ diff --git a/src/nwb/NWBFile.hpp b/src/nwb/NWBFile.hpp index 58b631d3..83db82d1 100644 --- a/src/nwb/NWBFile.hpp +++ b/src/nwb/NWBFile.hpp @@ -152,7 +152,7 @@ class NWBFile const std::string identifierText; std::shared_ptr io; static std::vector emptyContainerIndexes; - inline const static std::string acquisitionPath = "/acquisition/"; + inline const static std::string acquisitionPath = "/acquisition"; }; } // namespace AQNWB::NWB \ No newline at end of file