From 6fd2d39a7d40c0a8de4d686db5f60a0e94c0fe35 Mon Sep 17 00:00:00 2001 From: weisburd Date: Wed, 9 Jun 2010 17:10:03 +0000 Subject: [PATCH] Modified run_locally mode to use os.system(..) instead of popen git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3515 348d0f76-0448-11de-a6fe-93d51630548a --- python/genomicAnnotatorScripts/GenerateTranscriptToInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/genomicAnnotatorScripts/GenerateTranscriptToInfo.py b/python/genomicAnnotatorScripts/GenerateTranscriptToInfo.py index 5da9cad62..a4e28dd45 100755 --- a/python/genomicAnnotatorScripts/GenerateTranscriptToInfo.py +++ b/python/genomicAnnotatorScripts/GenerateTranscriptToInfo.py @@ -120,7 +120,7 @@ for contig in contigs: print("Executing: " + command) if run_locally: #execute(command, os.path.join(logs_dir,contig+"_log.txt")) - execute(command + " >& " + os.path.join(logs_dir,contig+"_log.txt")) + os.system(command + " >& " + os.path.join(logs_dir,contig+"_log.txt")) else: os.system(command) else: