From 592ac970a9ad4f0181b0c258ce9d469957f301db Mon Sep 17 00:00:00 2001
From: Nicola Vigano <nicola.vigano@esrf.fr>
Date: Fri, 6 Jul 2012 18:43:51 +0000
Subject: [PATCH] OAR: fixed a bug that I introduced in a previous commit,
 regarding resubmitOar. Sorry!

Signed-off-by: Nicola Vigano <nicola.vigano@esrf.fr>

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@646 4c865b51-4357-4376-afb4-474e03ccb993
---
 zUtil_OAR/gtOarGetStats.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zUtil_OAR/gtOarGetStats.m b/zUtil_OAR/gtOarGetStats.m
index d11f1903..ae65915e 100644
--- a/zUtil_OAR/gtOarGetStats.m
+++ b/zUtil_OAR/gtOarGetStats.m
@@ -52,7 +52,7 @@ function statsTable = gtOarGetStats(IDs, vars)
         'walltime', ...
         'wanted_resources' };
 
-    if ((~iscell(vars)) && (strcmpi(vars, 'all')))
+    if (strcmpi(vars, 'all'))
         vars = possible_vars;
     else
         % Removing not allowed variables
-- 
GitLab