Skip to content

Commit 4874e82

Browse files
committed
Change parameters to continuous timestamp file creation
1 parent 5435220 commit 4874e82

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Source/Plugins/BinaryWriter/BinaryRecording.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,7 @@ void BinaryRecording::openFiles(File rootFolder, int experimentNumber, int recor
118118
String datPath = getProcessorString(channelInfo);
119119
continuousFileNames.add(contPath + datPath + "continuous.dat");
120120

121-
Array<NpyType> tstypes;
122-
tstypes.add(NpyType("Timestamp", BaseType::INT64, 1));
123-
124-
ScopedPointer<NpyFile> tFile = new NpyFile(contPath + datPath + "timestamps.npy", tstypes);
121+
ScopedPointer<NpyFile> tFile = new NpyFile(contPath + datPath + "timestamps.npy", NpyType(BaseType::INT64,1));
125122
m_dataTimestampFiles.add(tFile.release());
126123

127124
m_fileIndexes.set(recordedChan, nInfoArrays);

0 commit comments

Comments
 (0)