Add the xmi file from umbrello documenting our basic pipeline usecase
[htsworkflow.git] / gaworkflow / runner.py
index 72a9273da70ae8731577aa7540ec20004202b6aa..f81b68200bf43a4f41fd749cf1377a65859a37f2 100644 (file)
@@ -89,20 +89,6 @@ class Runner(rpc.XmlRpcBot):
         logging.debug("reply: " + str(reply))
         return reply
 
-        
-    def start(self, daemonize):
-        """
-        Start application
-        """
-        super(Runner, self).start(daemonize)
-
-        
-    def stop(self):
-        """
-        shutdown application
-        """
-        super(Runner, self).stop()
-
 
     def getStatusReport(self, fc_num):
         """
@@ -159,6 +145,7 @@ class Runner(rpc.XmlRpcBot):
 
         # Launch the job in it's own thread and turn.
         self.launchJob(run_dir, flowcell, ci)
+        return "started"
         
         
     def pipelineFinished(self, run_dir):
@@ -241,8 +228,7 @@ class Runner(rpc.XmlRpcBot):
 
         
 def main(args=None):
-    bot = Runner('demobot')
-    bot.cfg['loglevel'] = 'DEBUG'
+    bot = Runner()
     return bot.main(args)
     
 if __name__ == "__main__":