From dae137d6c23f34bd6d037f7f4c3d9b8f34398ae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Balajti?= Date: Fri, 5 Jan 2024 11:45:40 +0100 Subject: [PATCH] fix orientation tests --- tests/test_get_read_orientation.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/test_get_read_orientation.py b/tests/test_get_read_orientation.py index 10894334..ddd9fb6c 100644 --- a/tests/test_get_read_orientation.py +++ b/tests/test_get_read_orientation.py @@ -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, ) @@ -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