Skip to content

Commit

Permalink
unittest kmer embedding
Browse files Browse the repository at this point in the history
  • Loading branch information
yazhinia committed Dec 18, 2024
1 parent 97428b1 commit bc23ba5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_dataparsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ def setUp(self):
# Create a mock FASTA file
self.fasta_file = os.path.join(self.test_dir, "test.fasta")
self.create_mock_fasta()

parent_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
weight_path = os.path.join(parent_path, "mcdevol", "genomeface_weights", "general_t2eval.m.index")
self.assertTrue(os.path.exists(weight_path), f"Weight file not found at {weight_path}")

# Set up logger
self.logger = logging.getLogger("test_logger")
self.logger.setLevel(logging.INFO)
Expand Down

0 comments on commit bc23ba5

Please sign in to comment.