Skip to content

Commit

Permalink
Fixed the test to pass. Still need to test the actual report.
Browse files Browse the repository at this point in the history
  • Loading branch information
tbooth committed Feb 26, 2024
1 parent 6f5dbe0 commit 378c5eb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions test/examples/runs/20221103_EGS2_25070AT/sc_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,11 @@ representative_pod5:
25070AT0003/20221104_1306_1G_PAM78534_6623d643: null
25070AT0004/20221103_1710_1D_PAM83454_1f1b14bd: null
25070AT0005/20221103_1710_1B_PAM82832_3ed26d0e: null
representative_fastq:
25070AT0003/20221103_1710_1F_PAM83464_136e9f68: 25070AT0003/20221103_1710_1F_PAM83464_136e9f68/20221103_EGS2_25070AT_25070AT0003_PAM83464_136e9f68_barcode01_pass.fastq.gz
25070AT0003/20221104_1306_1G_PAM78534_6623d643: 25070AT0003/20221104_1306_1G_PAM78534_6623d643/20221103_EGS2_25070AT_25070AT0003_PAM78534_6623d643_barcode01_pass.fastq.gz
25070AT0004/20221103_1710_1D_PAM83454_1f1b14bd: 25070AT0004/20221103_1710_1D_PAM83454_1f1b14bd/20221103_EGS2_25070AT_25070AT0004_PAM83454_1f1b14bd_barcode01_pass.fastq.gz
25070AT0005/20221103_1710_1B_PAM82832_3ed26d0e: 25070AT0005/20221103_1710_1B_PAM82832_3ed26d0e/20221103_EGS2_25070AT_25070AT0005_PAM82832_3ed26d0e_barcode01_pass.fastq.gz
scanned_cells:
25070AT0003/20221103_1710_1F_PAM83464_136e9f68:
barcode01:
Expand Down
2 changes: 2 additions & 0 deletions test/examples/runs/20231107_MIN2_26171SS/sc_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ representative_fast5:
26171SS0001L02/20231108_1411_MN32284_AOZ898_35873099: null
representative_pod5:
26171SS0001L02/20231108_1411_MN32284_AOZ898_35873099: 26171SS0001L02/20231108_1411_MN32284_AOZ898_35873099/pod5_._pass/AOZ898_pass_35873099_e8dfad65_batch100_00000000.pod5
representative_fastq:
26171SS0001L02/20231108_1411_MN32284_AOZ898_35873099: 26171SS0001L02/20231108_1411_MN32284_AOZ898_35873099/foobarfoo_26171SS0001L02_AOZ898_35873099_._pass.fastq.gz
scanned_cells:
26171SS0001L02/20231108_1411_MN32284_AOZ898_35873099:
.:
Expand Down
4 changes: 2 additions & 2 deletions test/test_scan_cells.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_scan_main(self):
on the command line.
"""
args = parse_args([f"{DATA_DIR}/runs/20221103_EGS2_25070AT"])
sc = scan_main( args )
sc = scan_main( args, "20221103_EGS2_25070AT" )

with open(f"{DATA_DIR}/runs/20221103_EGS2_25070AT/sc_data.yaml") as yfh:
expected = yaml.safe_load(yfh)
Expand All @@ -87,7 +87,7 @@ def test_scan_main_pod5(self):
""" A test using the run I was using to test pod5 runs.
"""
args = parse_args([f"{DATA_DIR}/runs/20231107_MIN2_26171SS"])
sc = scan_main( args )
sc = scan_main( args, "foobarfoo" )

with open(f"{DATA_DIR}/runs/20231107_MIN2_26171SS/sc_data.yaml") as yfh:
expected = yaml.safe_load(yfh)
Expand Down

0 comments on commit 378c5eb

Please sign in to comment.