Skip to content

Commit c492542

Browse files
committed
Use source node ID instead of record node ID to name continuous files
1 parent 94d02f0 commit c492542

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Source/Processors/RecordNode/OpenEphysFormat/OriginalRecording.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ String OriginalRecording::getFileName(int channelIndex)
265265
{
266266
String filename;
267267
const DataChannel* ch = getDataChannel(channelIndex);
268-
269-
filename += String(static_cast<int>(ch->getCurrentNodeID()));
268+
269+
filename += String(static_cast<int>(ch->getSourceNodeID()));
270270
filename += "_";
271271
if (renameFiles)
272272
filename += renamedPrefix + String(getDataChannel(channelIndex)->getCurrentNodeChannelIdx() + 1);

0 commit comments

Comments
 (0)