Commit 850b7bba authored by mikec1's avatar mikec1
Browse files

FIX: Remove extra whitespace around batch_config strings to avoid minit string swap

parent 3d41444b
......@@ -59,17 +59,15 @@ if nargin==1;
batchconfig=init_batch_config;
end
for li=1:nlevels;
batchconfig(li).exec_func=propgrid.Properties((li*4)-3).Value;
batchconfig(li).replace_string=propgrid.Properties((li*4)-2).Value;
batchconfig(li).exec_func=strtrim(propgrid.Properties((li*4)-3).Value);
batchconfig(li).replace_string=strtrim(propgrid.Properties((li*4)-2).Value);
batchconfig(li).order=propgrid.Properties((li*4)-1).Value;
batchconfig(li).job_name=propgrid.Properties((li*4)).Children(1).Value;
batchconfig(li).session_init=propgrid.Properties((li*4)).Children(2).Value;
batchconfig(li).job_init=propgrid.Properties((li*4)).Children(3).Value;
batchconfig(li).m_init=propgrid.Properties((li*4)).Children(4).Value;
batchconfig(li).qsub_options=propgrid.Properties((li*4)).Children(5).Value;
batchconfig(li).software=propgrid.Properties((li*4)).Children(6).Value;
batchconfig(li).program_options=propgrid.Properties((li*4)).Children(7).Value;
batchconfig(li).job_name=strtrim(propgrid.Properties((li*4)).Children(1).Value);
batchconfig(li).session_init=strtrim(propgrid.Properties((li*4)).Children(2).Value);
batchconfig(li).job_init=strtrim(propgrid.Properties((li*4)).Children(3).Value);
batchconfig(li).m_init=strtrim(propgrid.Properties((li*4)).Children(4).Value);
batchconfig(li).qsub_options=strtrim(propgrid.Properties((li*4)).Children(5).Value);
batchconfig(li).software=strtrim(propgrid.Properties((li*4)).Children(6).Value);
batchconfig(li).program_options=strtrim(propgrid.Properties((li*4)).Children(7).Value);
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment