Skip to content
Snippets Groups Projects
Commit cccaae5d authored by Laura Nervo's avatar Laura Nervo Committed by Nicola Vigano
Browse files

logviewOar : fix bug


Signed-off-by: default avatarLaura Nervo <laura.nervo@esrf.fr>

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@644 4c865b51-4357-4376-afb4-474e03ccb993
parent 0d9f6f86
No related branches found
No related tags found
No related merge requests found
......@@ -102,9 +102,9 @@ if ~isempty(fieldnames(oarparameters))
[~, ind] = intersect(arrayid, idarray);
if ~isempty(ind)
if strcmpi(typefile,'log')
logname = fullfile('/tmp_14_days','oar','log',['oar.' fname '.' num2str(idarray) '.' typefile]);
logname = fullfile('/tmp_14_days','oar','log',['oar.' fname '-' getenv('USER') '_' oarStats{ind}.('resubmit_job_id') '.' num2str(idarray) '.' typefile]);
elseif (strcmpi(typefile,'err') || strcmpi(typefile,'out'))
logname = fullfile('/tmp_14_days','oar','log',['oar.' fname '.' num2str(idjob) '.' typefile]);
logname = fullfile('/tmp_14_days','oar','log',['oar.' fname '-' getenv('USER') '_' oarStats{ind}.('resubmit_job_id') '.' num2str(idjob) '.' typefile]);
elseif strcmpi(typefile,'oar') || strcmpi(typefile,'params')
logname = [fname '-' getenv('USER') '_' oarStats{ind}.('resubmit_job_id') '.' typefile];
end
......
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