Skip to content
Snippets Groups Projects
Commit 49e7f583 authored by Laura Nervo's avatar Laura Nervo
Browse files

guiGtSetup : changed make_parameters(1) to make_parameters(2)...


Signed-off-by: default avatarLaura Nervo <laura.nervo@esrf.fr>
parent af775e11
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ function initialize_gui(fig_handle, handles, isreset) ...@@ -100,7 +100,7 @@ function initialize_gui(fig_handle, handles, isreset)
handles.guiEditPath = setAcquisitionPath(handles.guiEditPath, pwd); handles.guiEditPath = setAcquisitionPath(handles.guiEditPath, pwd);
[handles.parameters, handles.list] = make_parameters(1); [handles.parameters, handles.list] = make_parameters(2);
updateListbox(handles.guiListbox, handles.parameters); updateListbox(handles.guiListbox, handles.parameters);
% Update handles structure % Update handles structure
...@@ -160,7 +160,7 @@ function guiLoadButton_Callback(hObject, eventdata, handles) ...@@ -160,7 +160,7 @@ function guiLoadButton_Callback(hObject, eventdata, handles)
if filename if filename
completePath = fullfile(pathname, filename); completePath = fullfile(pathname, filename);
[handles.parameters, handles.list] = make_parameters(1); [handles.parameters, handles.list] = make_parameters(2);
handles.parameters = load(completePath); handles.parameters = load(completePath);
% Update handles structure % Update handles structure
...@@ -202,7 +202,7 @@ function guiLoadXMLPushButton_Callback(hObject, eventdata, handles) ...@@ -202,7 +202,7 @@ function guiLoadXMLPushButton_Callback(hObject, eventdata, handles)
if xmlFilename if xmlFilename
completePath = fullfile(xmlPath, xmlFilename); completePath = fullfile(xmlPath, xmlFilename);
[handles.parameters, handles.list] = make_parameters(1); [handles.parameters, handles.list] = make_parameters(2);
handles.parameters = gtLoadAcquisitionXML(handles.parameters, handles.list, completePath, false); handles.parameters = gtLoadAcquisitionXML(handles.parameters, handles.list, completePath, false);
handles.guiEditPath = setAcquisitionPath(handles.guiEditPath, xmlPath); handles.guiEditPath = setAcquisitionPath(handles.guiEditPath, xmlPath);
...@@ -272,7 +272,7 @@ function guiChangeButton_Callback(hObject, eventdata, handles) ...@@ -272,7 +272,7 @@ function guiChangeButton_Callback(hObject, eventdata, handles)
end end
function resetAcquisitionDir(handles, directoryname) function resetAcquisitionDir(handles, directoryname)
[handles.parameters, handles.list] = make_parameters(1); [handles.parameters, handles.list] = make_parameters(2);
% Let's find a xml file % Let's find a xml file
paramsFiles = dir(fullfile(directoryname, 'parameters.mat')); paramsFiles = dir(fullfile(directoryname, 'parameters.mat'));
......
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