@@ -31,7 +31,7 @@ class SearchTest {
31
31
static HashSet <String > hitProteins = null ;
32
32
static HashSet <String > hitPathways = null ;
33
33
34
- private static ImmutableMap <String , String > iReactions ; // Reaction stId to Reaction displayName
34
+ private static ImmutableMap <String , Reaction > iReactions ; // Reaction stId to Reaction displayName
35
35
private static ImmutableMap <String , Pathway > iPathways ; // Pathway stId to Pathway instance
36
36
private static ImmutableMap <String , String > iProteins ; // Protein accession (UniProt) to name
37
37
private static ImmutableSetMultimap <String , String > imapGenesToProteins = null ;
@@ -49,7 +49,7 @@ class SearchTest {
49
49
50
50
@ BeforeAll
51
51
static void loadStaticMapping () {
52
- iReactions = (ImmutableMap <String , String >) getSerializedObject ("iReactions.gz" );
52
+ iReactions = (ImmutableMap <String , Reaction >) getSerializedObject ("iReactions.gz" );
53
53
iPathways = (ImmutableMap <String , Pathway >) getSerializedObject ("iPathways.gz" );
54
54
iProteins = (ImmutableMap <String , String >) getSerializedObject ("iProteins.gz" );
55
55
imapGenesToProteins = (ImmutableSetMultimap <String , String >) getSerializedObject ("imapGenesToProteins.gz" );
@@ -61,9 +61,8 @@ static void loadStaticMapping() {
61
61
imapProteoformsToReactions = (ImmutableSetMultimap <Proteoform , String >) getSerializedObject ("imapProteoformsToReactions.gz" );
62
62
// imapRsIdsToProteins = (ImmutableSetMultimap<String,String>) getSerializedObject("imapRsIdsToProteins.gz");
63
63
// imapChrBpToProteins = (ImmutableSetMultimap<String,String>) getSerializedObject("imapChrBpToProteins.gz");
64
- imapReactionsToParticipants = (ImmutableSetMultimap <String , String >) getSerializedObject ("imapReactionsToParticipants.gz" );
65
64
imapProteinsToComplexes = (ImmutableSetMultimap <String , String >) getSerializedObject ("imapProteinsToComplexes.gz" );
66
- imapComplexesToParticipants = (ImmutableSetMultimap <String , String >) getSerializedObject ("imapComplexesToParticipants .gz" );
65
+ imapComplexesToParticipants = (ImmutableSetMultimap <String , String >) getSerializedObject ("imapComplexesToComponents .gz" );
67
66
}
68
67
69
68
@ BeforeEach
0 commit comments