Skip to content

Commit

Permalink
Fix inconsistent file prefix when using openephys recording format (#477
Browse files Browse the repository at this point in the history
)
  • Loading branch information
anjaldoshi committed Nov 4, 2021
1 parent cde50f7 commit dbe5892
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,8 @@ String OriginalRecording::getFileName(int channelIndex)

filename += String(static_cast<int>(ch->getSourceNodeID()));
filename += "_";
if (renameFiles)
filename += renamedPrefix + String(getDataChannel(channelIndex)->getCurrentNodeChannelIdx() + 1);
else
filename += ch->getName();

filename += String(getDataChannel(channelIndex)->getCurrentNodeChannelIdx() + 1);

if (experimentNumber > 1)
{
Expand Down

0 comments on commit dbe5892

Please sign in to comment.