Skip to content

Commit

Permalink
set separate directory for test count intermediate files
Browse files Browse the repository at this point in the history
  • Loading branch information
jykr committed Apr 11, 2024
1 parent 88a4180 commit 08eb3cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_count.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_guide_count():

@pytest.mark.order(104)
def test_count_samples():
cmd = "bean count-samples -i tests/data/sample_list.csv -b A -f tests/data/test_guide_info.csv -o tests/test_res/ -r --guide-start-seq=GGAAAGGACGAAACACCG"
cmd = "bean count-samples -i tests/data/sample_list.csv -b A -f tests/data/test_guide_info.csv -o tests/test_res/var/ -r --guide-start-seq=GGAAAGGACGAAACACCG"
try:
subprocess.check_output(
cmd,
Expand All @@ -46,7 +46,7 @@ def test_count_samples():

@pytest.mark.order(105)
def test_count_samples_bcstart():
cmd = "bean count-samples -i tests/data/sample_list.csv -b A -f tests/data/test_guide_info.csv -o tests/test_res/ -r --barcode-start-seq=GGAA"
cmd = "bean count-samples -i tests/data/sample_list.csv -b A -f tests/data/test_guide_info.csv -o tests/test_res/var2/ -r --barcode-start-seq=GGAA"
try:
subprocess.check_output(
cmd,
Expand Down Expand Up @@ -84,7 +84,7 @@ def test_barcode_start_idx():

@pytest.mark.order(106)
def test_count_samples_tiling():
cmd = "bean count-samples -i tests/data/sample_list_tiling.csv -b A -f tests/data/test_guide_info_tiling_chrom.csv -o tests/test_res/ -r"
cmd = "bean count-samples -i tests/data/sample_list_tiling.csv -b A -f tests/data/test_guide_info_tiling_chrom.csv -o tests/test_res/tiling/ -r"
try:
subprocess.check_output(
cmd,
Expand All @@ -97,7 +97,7 @@ def test_count_samples_tiling():

@pytest.mark.order(107)
def test_count_chroms():
cmd = "bean count --R1 tests/data/test_tiling_R1.fastq --R2 tests/data/test_tiling_R2.fastq -b A -f tests/data/test_guide_info_tiling_chrom.csv -o tests/test_res/ -r"
cmd = "bean count --R1 tests/data/test_tiling_R1.fastq --R2 tests/data/test_tiling_R2.fastq -b A -f tests/data/test_guide_info_tiling_chrom.csv -o tests/test_res/tiling_chrom/ -r"
try:
subprocess.check_output(
cmd,
Expand Down

0 comments on commit 08eb3cb

Please sign in to comment.