1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/1c8eb226af94/ changeset: 1c8eb226af94 user: jgoecks date: 2012-04-26 20:25:01 summary: Remove version code from tophat wrappers as this is now handled by <version> tag. affected #: 2 files diff -r c16adb4630e58fe4001e488367e27e911d7ec0cb -r 1c8eb226af94b29ef8484c4fbed557282170259e tools/ngs_rna/tophat2_wrapper.py --- a/tools/ngs_rna/tophat2_wrapper.py +++ b/tools/ngs_rna/tophat2_wrapper.py @@ -80,21 +80,6 @@ (options, args) = parser.parse_args() - # output version # of tool - try: - tmp = tempfile.NamedTemporaryFile().name - tmp_stdout = open( tmp, 'wb' ) - proc = subprocess.Popen( args='tophat -v', shell=True, stdout=tmp_stdout ) - tmp_stdout.close() - returncode = proc.wait() - stdout = open( tmp_stdout.name, 'rb' ).readline().strip() - if stdout: - sys.stdout.write( '%s\n' % stdout ) - else: - raise Exception - except: - sys.stdout.write( 'Could not determine Tophat version\n' ) - # Color or base space space = '' if options.color_space: diff -r c16adb4630e58fe4001e488367e27e911d7ec0cb -r 1c8eb226af94b29ef8484c4fbed557282170259e tools/ngs_rna/tophat_wrapper.py --- a/tools/ngs_rna/tophat_wrapper.py +++ b/tools/ngs_rna/tophat_wrapper.py @@ -73,21 +73,6 @@ (options, args) = parser.parse_args() - # output version # of tool - try: - tmp = tempfile.NamedTemporaryFile().name - tmp_stdout = open( tmp, 'wb' ) - proc = subprocess.Popen( args='tophat -v', shell=True, stdout=tmp_stdout ) - tmp_stdout.close() - returncode = proc.wait() - stdout = open( tmp_stdout.name, 'rb' ).readline().strip() - if stdout: - sys.stdout.write( '%s\n' % stdout ) - else: - raise Exception - except: - sys.stdout.write( 'Could not determine Tophat version\n' ) - # Color or base space space = '' if options.color_space: Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.