Skip to content

Commit

Permalink
Fix build error due to error during merge with base branch
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel committed Oct 22, 2024
1 parent 415926c commit a93cadd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 8 additions & 2 deletions src/io/BaseIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,14 @@ Status BaseIO::createDataAttributes(const std::string& path,
const float& resolution,
const std::string& unit)
{
createAttribute(BaseDataType::F32, &conversion, path + "/data", "conversion");
createAttribute(BaseDataType::F32, &resolution, path + "/data", "resolution");
createAttribute(BaseDataType::F32,
&conversion,
AQNWB::mergePaths(path, "data"),
"conversion");
createAttribute(BaseDataType::F32,
&resolution,
AQNWB::mergePaths(path, "data"),
"resolution");
createAttribute(unit, path + "/data", "unit");

return Status::Success;
Expand Down
1 change: 0 additions & 1 deletion src/nwb/ecephys/ElectricalSeries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ void ElectricalSeries::initialize(const IO::BaseDataType& dataType,
m_io->createAttribute(IO::BaseDataType::I32,
&axis_value,
AQNWB::mergePaths(getPath(), "channel_conversion"),
this->getPath() + "/channel_conversion",
"axis",
1);

Expand Down

0 comments on commit a93cadd

Please sign in to comment.