From 4874e825210a01fd485fc1192b5740383b7c3adb Mon Sep 17 00:00:00 2001 From: Aaron Cuevas Lopez <aacuelo@teleco.upv.es> Date: Tue, 12 Sep 2017 22:16:34 +0200 Subject: [PATCH] Change parameters to continuous timestamp file creation --- Source/Plugins/BinaryWriter/BinaryRecording.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/Plugins/BinaryWriter/BinaryRecording.cpp b/Source/Plugins/BinaryWriter/BinaryRecording.cpp index 6b251c488..d1dfe04ad 100644 --- a/Source/Plugins/BinaryWriter/BinaryRecording.cpp +++ b/Source/Plugins/BinaryWriter/BinaryRecording.cpp @@ -118,10 +118,7 @@ void BinaryRecording::openFiles(File rootFolder, int experimentNumber, int recor String datPath = getProcessorString(channelInfo); continuousFileNames.add(contPath + datPath + "continuous.dat"); - Array<NpyType> tstypes; - tstypes.add(NpyType("Timestamp", BaseType::INT64, 1)); - - ScopedPointer<NpyFile> tFile = new NpyFile(contPath + datPath + "timestamps.npy", tstypes); + ScopedPointer<NpyFile> tFile = new NpyFile(contPath + datPath + "timestamps.npy", NpyType(BaseType::INT64,1)); m_dataTimestampFiles.add(tFile.release()); m_fileIndexes.set(recordedChan, nInfoArrays); -- GitLab