Skip to content

Commit

Permalink
add the volvox bigwig test track in the selenium tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Aug 1, 2012
1 parent 106df2f commit 05149e7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/selenium_tests/volvox_biodb_test.py
@@ -1,5 +1,6 @@
import time
from subprocess import check_call as call
import subprocess
from subprocess import check_call as call, PIPE;
import unittest

from jbrowse_selenium import JBrowseTest;
Expand All @@ -13,6 +14,14 @@ 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("""{
"label": "volvox_microarray.bw",
"key": "volvox_microarray.bw",
"urlTemplate": "../../raw/volvox/volvox_microarray.bw",
"type": "JBrowse/View/Track/Wiggle",
"storeClass": "JBrowse/Store/BigWig"
}""");
call( "bin/generate-names.pl --dir sample_data/json/volvox/", shell=True )
super( AbstractVolvoxBiodbTest, self ).setUp()

Expand Down

0 comments on commit 05149e7

Please sign in to comment.