Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwoer committed Sep 17, 2024
1 parent e98624f commit 850bb3c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_DataSet_Pathway.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import pandas as pd
import numpy as np

from DataSet_Pathway import Enrichment
from alphastats.loader.MaxQuantLoader import MaxQuantLoader
from alphastats.DataSet import DataSet

Expand Down Expand Up @@ -87,11 +88,11 @@ def test_go_genome_sample(self):
def test_extract_protein_ids(self):
# test function with different entries
entry_one = "sp|P0DMV9|HS71B_HUMAN,sp|P0DMV8|HS71A_HUMAN"
entry_one_protein_id = self.obj._extract_protein_ids(entry=entry_one)
entry_one_protein_id = Enrichment._extract_protein_ids(entry=entry_one)
self.assertEqual(entry_one_protein_id, "P0DMV9;P0DMV8")

entry_two = "ENSEMBL:ENSBTAP00000007350"
entry_two_protein_id = self.obj._extract_protein_ids(entry=entry_two)
entry_two_protein_id = Enrichment._extract_protein_ids(entry=entry_two)
self.assertEqual(entry_two_protein_id, "ENSBTAP00000007350")


Expand Down

0 comments on commit 850bb3c

Please sign in to comment.