(no commit message)
authorRami Rauch <rrauch@stanford.edu>
Wed, 13 Aug 2008 23:54:22 +0000 (23:54 +0000)
committerRami Rauch <rrauch@stanford.edu>
Wed, 13 Aug 2008 23:54:22 +0000 (23:54 +0000)
htswdataprod/htswdataprod/automation/runner.py

index 391e7dd43789e95c0e672459a4685e37b8b7d5b2..aa7e4ff7419ca109e7d57546c002231e7768ae37 100644 (file)
@@ -5,6 +5,7 @@ import os
 import re
 import sys
 import time
+from datetime import datetime
 import threading
 
 from benderjab import rpc
@@ -84,6 +85,13 @@ class Runner(rpc.XmlRpcBot):
                 reply = u"starting run for %s" % (words[1])
             else:
                 reply = u"need runfolder name"
+        #~~~~ Rami's test
+        elif re.match(u"time", msg):
+            #words = msg.split()
+            #if len(words) == 2:
+            #self.sequencingFinished(words[1])
+            reply = u"time is "+str(datetime.now())
+        ## ~~~~
         else:
             reply = u"I didn't understand '%s'" %(msg)