From 3ca6699603c2c8fc17b959cf77afd1c43326fd61 Mon Sep 17 00:00:00 2001 From: nhamaus Date: Fri, 16 Nov 2012 09:58:33 +0100 Subject: [PATCH] fix so that end of prunevoids is correctly detected --- python_tools/void_python_tools/backend/launchers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_tools/void_python_tools/backend/launchers.py b/python_tools/void_python_tools/backend/launchers.py index e15e8fb..70699b3 100755 --- a/python_tools/void_python_tools/backend/launchers.py +++ b/python_tools/void_python_tools/backend/launchers.py @@ -297,7 +297,7 @@ def launchPrune(sample, binPath, thisDataPortion=None, cmd += " >& " + logFile os.system(cmd) - if jobSuccessful(logFile, "NetCDF: Not a valid ID\n") or jobSuccessful(logFile, "Done!") or jobSuccessful(logFile, ""): + if jobSuccessful(logFile, "NetCDF: Not a valid ID\n") or jobSuccessful(logFile, "Done!\n"): print "done" else: print "FAILED!"