Skip to content

Commit

Permalink
fix stdin-buffering problem adding bigwig track volvox selenium tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Aug 2, 2012
1 parent 5716f7c commit 16d8f02
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/selenium_tests/volvox_biodb_test.py
Expand Up @@ -14,14 +14,18 @@ def setUp( self ):
call( "bin/prepare-refseqs.pl --fasta docs/tutorial/data_files/volvox.fa --out sample_data/json/volvox/", shell=True )
call( "bin/biodb-to-json.pl --conf docs/tutorial/conf_files/volvox.json --out sample_data/json/volvox/", shell=True )
call( "bin/wig-to-json.pl --out sample_data/json/volvox/ --wig docs/tutorial/data_files/volvox_microarray.wig", shell=True )

# add a definition for the volvox bigwig test track
subprocess.Popen( ["bin/add-track-json.pl","sample_data/json/volvox/trackList.json"], stdin=PIPE ).stdin.write("""{
addtrack = subprocess.Popen( ["bin/add-track-json.pl","sample_data/json/volvox/trackList.json"], stdin=PIPE );
addtrack.stdin.write("""{
"label": "volvox_microarray.bw",
"key": "volvox_microarray.bw",
"urlTemplate": "../../raw/volvox/volvox_microarray.bw",
"type": "JBrowse/View/Track/Wiggle",
"storeClass": "JBrowse/Store/BigWig"
}""");
}""")
addtrack.stdin.close()

call( "bin/generate-names.pl --dir sample_data/json/volvox/", shell=True )
super( AbstractVolvoxBiodbTest, self ).setUp()

Expand Down

0 comments on commit 16d8f02

Please sign in to comment.