Skip to content
Snippets Groups Projects
Commit 4da45722 authored by Olivier Sauter's avatar Olivier Sauter
Browse files

cleanup dummy variables

parent 61eb35ea
No related branches found
No related tags found
1 merge request!88fix TCV ids for version 3.31
......@@ -85,14 +85,9 @@ if isempty(dummy1)
ids_full_list = tcv_available_ids;
warning(['IDS_list not available, quick fix introducing list of ids available for TCV: ' fprintf('%s ',ids_full_list{:}) char(10)]);
else
% differentiate between ids_list and IDS_list (which or exist not sufficient)
[dummy2]=fileparts(dummy1);
try
[dummy3]=ls(fullfile(dummy2,'ids_list.*'));
ids_full_list = ids_list;
catch
ids_full_list = IDS_list;
end
% get effective function between ids_list and IDS_list (which or exist not sufficient)
[dummy2,ids_list_eff]=fileparts(dummy1);
eval(['ids_full_list = ' ids_list_eff ';']);
end
ids_names_notok = setdiff(ids_names,ids_full_list);
if ~isempty(ids_names_notok)
......
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