Skip to content

Commit

Permalink
adjust tests for FRASER2
Browse files Browse the repository at this point in the history
  • Loading branch information
AtaJadidAhari committed Oct 7, 2024
1 parent 09d62fe commit d060955
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/config/test_AS.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_config(self, dropConfig,demo_dir):
'deltaPsiCutoff': 0.05,
'maxTestedDimensionProportion': 6,
'genesToTest': 'Data/genes_to_test.yaml',
'FRASER_version': 'FRASER'
'FRASER_version': 'FRASER2',
}
assert dict_.items() <= dropConfig.AS.dict_.items()

Expand Down
7 changes: 5 additions & 2 deletions tests/pipeline/test_AS.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ def test_results(self, demo_dir):
annotation = "v29"
dataset = "fraser"
r = run(f"wc -l {results_dir}/{annotation}/fraser/{dataset}/results_per_junction.tsv", demo_dir)
assert "4137" == r.stdout.split()[0]
assert "980" == r.stdout.split()[0]
r = run(f"wc -l {results_dir}/{annotation}/fraser/{dataset}/results.tsv", demo_dir)
assert "310" == r.stdout.split()[0]
assert "194" == r.stdout.split()[0]
r = run(f"wc -l {results_dir}/{annotation}/fraser/{dataset}/results_gene_all.tsv", demo_dir)
assert "391" == r.stdout.split()[0]

0 comments on commit d060955

Please sign in to comment.