[hg] galaxy 1473: Unbreaking 2 tools that I just broke.
details: http://www.bx.psu.edu/hg/galaxy/rev/8cda62b46162 changeset: 1473:8cda62b46162 user: Greg Von Kuster <greg@bx.psu.edu> date: Tue Aug 19 13:35:44 2008 -0400 description: Unbreaking 2 tools that I just broke. 2 file(s) affected in this change: tools/extract/extract_genomic_dna.py tools/metag_tools/blat_wrapper.py diffs (42 lines): diff -r c81fa25c67e5 -r 8cda62b46162 tools/extract/extract_genomic_dna.py --- a/tools/extract/extract_genomic_dna.py Tue Aug 19 10:44:08 2008 -0400 +++ b/tools/extract/extract_genomic_dna.py Tue Aug 19 13:35:44 2008 -0400 @@ -35,7 +35,7 @@ for line in open( nib_file ): line = line.rstrip( '\r\n' ) if line and not line.startswith( "#" ) and line.startswith( 'seq' ): - fields = line.split( '\t' ) + fields = line.split() if len( fields ) < 3: continue if fields[1] == dbkey: @@ -49,7 +49,7 @@ for line in open( twobit_file ): line = line.rstrip( '\r\n' ) if line and not line.startswith( "#" ): - fields = line.split( '\t' ) + fields = line.split() if len( fields ) < 2: continue if fields[0] == dbkey: diff -r c81fa25c67e5 -r 8cda62b46162 tools/metag_tools/blat_wrapper.py --- a/tools/metag_tools/blat_wrapper.py Tue Aug 19 10:44:08 2008 -0400 +++ b/tools/metag_tools/blat_wrapper.py Tue Aug 19 13:35:44 2008 -0400 @@ -15,7 +15,7 @@ for i, line in enumerate( file( nib_file ) ): line = line.rstrip( '\r\n' ) if line and not line.startswith( "#" ): - fields = line.split( '\t' ) + fields = line.split() if len( fields ) < 3: continue if fields[0] == 'seq': @@ -31,7 +31,7 @@ for i, line in enumerate( file( twobit_file ) ): line = line.rstrip( '\r\n' ) if line and not line.startswith( "#" ): - fields = line.split( '\t' ) + fields = line.split() if len( fields ) < 2: continue twobits[( fields[0] )] = fields[1]
participants (1)
-
gregļ¼ scofield.bx.psu.edu