commit/galaxy-central: dan: Tweak for functional tests of BAM outputs on Macs.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/72484a95b873/ changeset: 72484a95b873 user: dan date: 2012-10-23 18:28:22 summary: Tweak for functional tests of BAM outputs on Macs. affected #: 1 file diff -r 8f82e2c36ec3da564aa0cdc507adad19e295b317 -r 72484a95b8732bf391ded562d9c26f4b61f51b43 test/base/twilltestcase.py --- a/test/base/twilltestcase.py +++ b/test/base/twilltestcase.py @@ -746,9 +746,9 @@ temp_local = tempfile.NamedTemporaryFile( suffix='.sam', prefix='local_bam_converted_to_sam_' ) fd, temp_temp = tempfile.mkstemp( suffix='.sam', prefix='history_bam_converted_to_sam_' ) os.close( fd ) - p = subprocess.Popen( args="samtools view -h %s -o %s" % ( local_name, temp_local.name ), shell=True ) + p = subprocess.Popen( args='samtools view -h -o "%s" "%s"' % ( temp_local.name, local_name ), shell=True ) assert not p.wait(), 'Converting local (test-data) bam to sam failed' - p = subprocess.Popen( args="samtools view -h %s -o %s" % ( temp_name, temp_temp ), shell=True ) + p = subprocess.Popen( args='samtools view -h -o "%s" "%s"' % ( temp_temp, temp_name ), shell=True ) assert not p.wait(), 'Converting history bam to sam failed' os.remove( temp_name ) return temp_local, temp_temp 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.
participants (1)
-
Bitbucket