From 60cbfd3f38ad11adcd16a02f934a0df644f54e5e Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Fri, 12 Aug 2016 19:08:54 +0000
Subject: [PATCH] Task #8475: Disable pulp auto mode for CEP4

---
 CEP/Pipeline/recipes/sip/bin/pulsar_pipeline.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/CEP/Pipeline/recipes/sip/bin/pulsar_pipeline.py b/CEP/Pipeline/recipes/sip/bin/pulsar_pipeline.py
index 2e9d98ede11..926d07151ff 100755
--- a/CEP/Pipeline/recipes/sip/bin/pulsar_pipeline.py
+++ b/CEP/Pipeline/recipes/sip/bin/pulsar_pipeline.py
@@ -146,11 +146,13 @@ class pulsar_pipeline(control):
         # Rebuilding sys.argv without the options given automatically by framework
         # --auto = automatic run from framework
         # -q = quiet mode, no user interaction
-        sys.argv = ['pulp.py', '--auto', '-q']
+        sys.argv = ['pulp.py', '-q']
 
         if self.globalfs:
           project = self.parset.getString(self.parset.fullModuleName('Campaign') + '.name')
           sys.argv.extend(['--slurm', '--globalfs', '--docker', '--docker-container=lofar-pulp:%s' % os.environ.get("LOFAR_TAG"), '--raw=/data/projects/%s' % project])
+        else:
+          sys.argv.append("--auto")
       
         if (not self.coherentStokesEnabled):
           sys.argv.extend(["--noCS", "--noCV", "--noFE"])
-- 
GitLab