fix so that end of prunevoids is correctly detected

This commit is contained in:
nhamaus 2012-11-16 09:58:33 +01:00
parent 971cf21ea2
commit 3ca6699603

View file

@ -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!"