comparison tools/mira4_0/mira4_convert.py @ 38:cee8f9005e43 draft

planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_0 commit 206259620376b322fc8ed99a6efdd3712f38764b
author peterjc
date Wed, 11 Jul 2018 12:35:35 -0400
parents 259891fce7fd
children bbf14bb9607b
comparison
equal deleted inserted replaced
37:eeeb21870a73 38:cee8f9005e43
43 else: 43 else:
44 sys.exit("Return code %i from command:\n%s\n%s" % (return_code, cmd_str, stderr)) 44 sys.exit("Return code %i from command:\n%s\n%s" % (return_code, cmd_str, stderr))
45 45
46 46
47 def get_version(mira_binary): 47 def get_version(mira_binary):
48 """Run MIRA to find its version number""" 48 """Run MIRA to find its version number."""
49 # At the commend line I would use: mira -v | head -n 1 49 # At the commend line I would use: mira -v | head -n 1
50 # however there is some pipe error when doing that here. 50 # however there is some pipe error when doing that here.
51 cmd = [mira_binary, "-v"] 51 cmd = [mira_binary, "-v"]
52 try: 52 try:
53 child = subprocess.Popen(cmd, 53 child = subprocess.Popen(cmd,