comparison tools/effectiveT3/effectiveT3.py @ 27:af14f755c05b draft

planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/tools/effectiveT3 commit 7496128ee9ef800fe780e545d2157da8a4f89d35-dirty
author peterjc
date Thu, 11 May 2017 10:06:00 -0400
parents 69ba0f4e91af
children 35c358aa7801
comparison
equal deleted inserted replaced
26:340624a47a76 27:af14f755c05b
67 positive += 1 67 positive += 1
68 return count, positive, errors 68 return count, positive, errors
69 69
70 70
71 def run(cmd): 71 def run(cmd):
72 """Run the command line string via subprocess."""
72 # Avoid using shell=True when we call subprocess to ensure if the Python 73 # Avoid using shell=True when we call subprocess to ensure if the Python
73 # script is killed, so too is the child process. 74 # script is killed, so too is the child process.
74 try: 75 try:
75 child = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 76 child = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
76 except Exception, err: 77 except Exception, err: