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

gtSegmentationLaunchOAR : OAR needs one big job, if not where will be some...

gtSegmentationLaunchOAR : OAR needs one big job, if not where will be some duplicates in the difspot table (it will be fixed soon)

Signed-off-by: default avatarLaura Nervo <laura.nervo@esrf.fr>
parent b00e411b
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ handles.bb_handle = []; % a handle to the line drawn on the image ...@@ -73,7 +73,7 @@ handles.bb_handle = []; % a handle to the line drawn on the image
% OAR defaults % OAR defaults
set(handles.OAR_walltime, 'string', '21600') set(handles.OAR_walltime, 'string', '21600')
set(handles.OAR_njobs, 'string', '30') set(handles.OAR_njobs, 'string', parameters.oar.njobs)
% set status label to white % set status label to white
set(handles.status_label, 'BackgroundColor', 'w') set(handles.status_label, 'BackgroundColor', 'w')
......
...@@ -24,7 +24,8 @@ check = questdlg('Launch Segmentation with OAR?','Question','Yes','No','Yes'); ...@@ -24,7 +24,8 @@ check = questdlg('Launch Segmentation with OAR?','Question','Yes','No','Yes');
if strcmpi(check,'Yes') if strcmpi(check,'Yes')
% should be one big job % should be one big job
handles.parameters.oar.njobs = str2num(get(handles.OAR_njobs, 'string')); % handles.parameters.oar.njobs = str2num(get(handles.OAR_njobs, 'string'));
handles.parameters.oar.njobs = 1;
OARtime = str2num(get(handles.OAR_walltime, 'string')); OARtime = str2num(get(handles.OAR_walltime, 'string'));
OARtmp = ceil(OARtime/60); % minutes OARtmp = ceil(OARtime/60); % minutes
OARm = mod(OARtmp, 60); % minutes OARm = mod(OARtmp, 60); % minutes
......
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