We'll be taking GitLab down for maintenance around 22 in the evening on the 15th of September, so this Sunday. Let us know (tt.mpi-cbg.de) if you experience any issues with it after the maintenance period.

Commit 6543963e authored by gonciarz's avatar gonciarz

Now PLUGIN trakcs can be read also in csv mode

parent c56a5902
......@@ -87,7 +87,8 @@ while true
line = fgetl(infile);
if ~isHeaderLine(line)
a = sscanf(line, '%f', numOfColumns);
%Remove commas - it will alloow to read also csv files.
a = sscanf(strrep(line, ',', ' '), '%f', numOfColumns);
if size(a, 1) == numOfColumns
if (currentTrajNum ~= -1) && (a(2) ~= currentTrajNum)
......@@ -83,11 +83,13 @@ for i = 1:numfiles
% load data from one file
if strcmp(readerType, 'plugin')
disp('Running in PLUGIN mode.');
[tempData, status] = loadDataFromParticleTrackerPlugin(filename,columns,minlen,maxTrackLength);
if ~status
error('Problem with reading tracks')
disp('Running in LEGACY mode.');
tempData = loadData(filename,columns,minlen,maxTrackLength);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment