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

Added shortcut artoa.upgradeInterim function for artoa.versioning.migrations.apply.

parent df10c2f8
No related branches found
No related tags found
No related merge requests found
222
\ No newline at end of file
223
\ No newline at end of file
......@@ -16,7 +16,7 @@ if ~isfield(pArtoaWorkspace, 'artoaVersion')
'You loaded an iterim file with an unknown Version.' newline ...
'Your artoa4 instance is on Version 4.' num2str(currentArtoaVersion) '.' newline ...
'Please consider upgrading your interim file using the' newline newline ...
'artoa.versioning.migrations.apply(yourArtoaFilePath)' newline newline ...
'artoa.upgradeInterim(yourArtoaFilePath)' newline newline ...
'command.' newline ...
'Artoa might be unstable otherwise!'
];
......@@ -32,7 +32,7 @@ if workspaceVersion < currentArtoaVersion & workspaceVersion < maxMigration
'.' newline ...
'Your artoa4 instance is on Version 4.' num2str(currentArtoaVersion) '.' newline ...
'Please consider upgrading your interim file using the' newline newline ...
'artoa.versioning.migrations.apply(yourArtoaFilePath)' newline newline ...
'artoa.upgradeInterim(yourArtoaFilePath)' newline newline ...
'command.' newline ...
'Artoa might be unstable otherwise!'
];
......
function [] = upgradeInterim(pInterimFilename)
%UPGRADEINTERIM Shortcut function for artoa.versioning.migrations.apply
artoa.versioning.migrations.apply(pInterimFilename);
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