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

cleanup dummy variables

parent e3f6954a
No related branches found
No related tags found
1 merge request!88fix TCV ids for version 3.31
...@@ -78,18 +78,17 @@ if any(mask), ...@@ -78,18 +78,17 @@ if any(mask),
end end
params_ids2database = params; params_ids2database = params;
keyboard
% check ids_names % check ids_names
ids_names=fieldnames(ids2put); ids_names=fieldnames(ids2put);
[a1,a2]=which('ids_list'); [dummy1]=which('ids_list');
if isempty(a1) if isempty(dummy1)
ids_full_list = tcv_available_ids; 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)]); warning(['IDS_list not available, quick fix introducing list of ids available for TCV: ' fprintf('%s ',ids_full_list{:}) char(10)]);
else else
% differentiate between ids_list and IDS_list (which or exist not sufficient) % differentiate between ids_list and IDS_list (which or exist not sufficient)
[b1,b2,b3]=fileparts(a1); [dummy2]=fileparts(dummy1);
try try
[c2]=ls(fullfile(b1,'ids_list.*')); [dummy3]=ls(fullfile(dummy2,'ids_list.*'));
ids_full_list = ids_list; ids_full_list = ids_list;
catch catch
ids_full_list = IDS_list; ids_full_list = IDS_list;
......
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