Skip to content

Commit 57242f2

Browse files
committed
Add base hdf5_path
1 parent a2ba811 commit 57242f2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Source/Processors/RecordNode/HDF5FileFormat.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,11 @@ void KWIKFile::writeEvent(int type, uint8 id, uint8 processor, void* data, uint6
817817

818818
void KWIKFile::addKwdFile(String filename)
819819
{
820+
if (kwdIndex == 0)
821+
{
822+
CHECK_ERROR(setAttributeStr(filename + "/recordings/" + String(recordingNumber), "/recordings/" + String(recordingNumber) +
823+
"/raw", "hdf5_path"));
824+
}
820825
CHECK_ERROR(setAttributeStr(filename + "/recordings/" + String(recordingNumber),"/recordings/" + String(recordingNumber) +
821826
"/raw/hdf5_paths",String(kwdIndex)));
822827
kwdIndex++;

0 commit comments

Comments
 (0)