Skip to content

Commit

Permalink
Test with tmpdir in MAPPING
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Jurič committed Sep 13, 2023
1 parent bd9d67e commit 74c1387
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_get_library_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def test_evaluate_mate_relationship_not_mates(self, tmpdir):
CONFIG.args.tmp_dir = tmpdir
MAPPING.paths = (FILE_IDS_NOT_MATCH_1, FILE_MATE_2)
MAPPING.transcripts_file = FILE_TRANSCRIPTS
MAPPING.tmp_dir =tmpdir
test_instance = GetLibType(config=CONFIG,
mapping=MAPPING)
test_instance.results.file_1 = StatesType.first_mate
Expand All @@ -139,6 +140,7 @@ def test_evaluate_split_mates_not_matching_ids(self, tmpdir):
CONFIG.args.path_2_processed = FILE_IDS_NOT_MATCH_2
CONFIG.args.tmp_dir = tmpdir
MAPPING.paths = (FILE_IDS_NOT_MATCH_1, FILE_IDS_NOT_MATCH_2)
MAPPING.tmp_dir = tmpdir
test_instance = GetLibType(config=CONFIG,
mapping=MAPPING)
test_instance.evaluate()
Expand Down

0 comments on commit 74c1387

Please sign in to comment.