Add command to report path to make figuring out which goat_pipeline is running
authorDiane Trout <diane@caltech.edu>
Fri, 19 Dec 2008 00:54:06 +0000 (00:54 +0000)
committerDiane Trout <diane@caltech.edu>
Fri, 19 Dec 2008 00:54:06 +0000 (00:54 +0000)
htsworkflow/automation/runner.py

index 0ab22176b411f71c894fa8d33afa459c65f9191f..45d4ffcdee8d52a7786dc65816fcc6b8d8d78044 100644 (file)
@@ -83,6 +83,8 @@ class Runner(rpc.XmlRpcBot):
                 reply = u"starting run for %s" % (words[1])
             else:
                 reply = u"need runfolder name"
+        elif re.match(u"path", msg):
+           reply = u"My path is: " + unicode(os.environ['PATH'])
         else:
             reply = u"I didn't understand '%s'" %(msg)