Skip to content
Snippets Groups Projects
Commit f1da57ee authored by leprob001's avatar leprob001
Browse files

Bugfix, migrations apply function did not check version correctly.

parent 7910b144
No related branches found
No related tags found
No related merge requests found
223
\ No newline at end of file
224
\ No newline at end of file
......@@ -52,7 +52,7 @@ try
continue;
end
currentVersionNumber = versionsFileNames(o).name(2:end - 2);
if ~strcmp('unknown', itmVersion) & (currentVersionNumber <= itmVersion)
if ~strcmp('unknown', itmVersion) & (str2double(currentVersionNumber) <= str2double(itmVersion))
continue;
end
disp(['Applying Version' currentVersionNumber '...']);
......
%% artoaDataInput.ini moved to artoaConfig
if artoa.data.hasMember(artoaDataInput, 'ini')
% fnames = fieldnames(artoaDataInput.ini);
% for i = 1:length(fnames)
% artoaConfig.(fnames{i}) = artoaDataInput.ini.(fnames{i});
% end
[artoaConfig, artoaDataInput] = moveIniToArtoaConfig(artoaConfig, artoaDataInput);
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment