Skip to content

Commit

Permalink
fix orientation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
balajtimate committed Jan 5, 2024
1 parent 28284de commit dae137d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_get_read_orientation.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,10 @@ def test_evaluate_paired_unmapped(self, tmpdir):
CONFIG.args.path_1_processed = FILE_UNMAPPED_PAIRED_1
CONFIG.args.path_2_processed = FILE_UNMAPPED_PAIRED_2
CONFIG.args.tmp_dir = tmpdir
CONFIG.results.library_source = ResultsSource()
CONFIG.results.library_source = ResultsSource(
file_1=Source(short_name="hsapiens", taxon_id=9606),
file_2=Source(short_name="hsapiens", taxon_id=9606)
)
CONFIG.results.library_type = ResultsType(
relationship=StatesTypeRelationship.split_mates,
)
Expand Down Expand Up @@ -259,7 +262,7 @@ def test_evaluate_paired_not_mates_unmapped(self, tmpdir):
)
CONFIG.results.library_source = ResultsSource(
file_1=Source(),
file_2=Source(),
file_2=Source(short_name="hsapiens", taxon_id=9606),
)
CONFIG.args.tmp_dir = tmpdir
MAPPING.mapped = False
Expand Down

0 comments on commit dae137d

Please sign in to comment.