Skip to content

Commit b2c5378

Browse files
committed
no interactors for species comparison
1 parent f77cf99 commit b2c5378

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Service/src/main/java/org/reactome/server/analysis/service/helper/AnalysisHelper.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ public AnalysisStoredResult analyse(UserData userData, Boolean toHuman, Boolean
100100
}
101101

102102
public AnalysisStoredResult compareSpecies(Long from, Long to){
103+
boolean includeInteractors = false;
103104
SpeciesNode speciesFrom = SpeciesNodeFactory.getSpeciesNode(from, "");
104105
SpeciesNode speciesTo = SpeciesNodeFactory.getSpeciesNode(to, "");
105106

@@ -119,8 +120,8 @@ public AnalysisStoredResult compareSpecies(Long from, Long to){
119120
try {
120121
UserData ud = speciesComparison.getSyntheticUserData(speciesTo);
121122
String token = Tokenizer.getOrCreateToken(fakeMD5, human, false);
122-
AnalysisSummary summary = new AnalysisSummary(token, null, null, null, Type.SPECIES_COMPARISON, to);
123-
return analyse(summary, ud, speciesFrom, null, reportParams);
123+
AnalysisSummary summary = new AnalysisSummary(token, null, includeInteractors, null, Type.SPECIES_COMPARISON, to);
124+
return analyse(summary, ud, speciesFrom, false, reportParams);
124125
} catch (SpeciesNotFoundException e) {
125126
throw new ResourceNotFoundException();
126127
}

0 commit comments

Comments
 (0)