Skip to content

Commit

Permalink
no interactors for species comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
fabregat committed Apr 2, 2016
1 parent f77cf99 commit b2c5378
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public AnalysisStoredResult analyse(UserData userData, Boolean toHuman, Boolean
}

public AnalysisStoredResult compareSpecies(Long from, Long to){
boolean includeInteractors = false;
SpeciesNode speciesFrom = SpeciesNodeFactory.getSpeciesNode(from, "");
SpeciesNode speciesTo = SpeciesNodeFactory.getSpeciesNode(to, "");

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

0 comments on commit b2c5378

Please sign in to comment.