Skip to content

Commit

Permalink
Minimal renaming.
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-brandizi committed Apr 29, 2024
1 parent 5a98ccc commit 8720e78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public List<GeneTableEntry> exportGeneTable (
*/
public String exportGenomapXML (
String apiUrl, List<ONDEXConcept> genes, Set<ONDEXConcept> userGenes, List<String> userQtlStr,
String keyword, int maxGenes, Map<ONDEXConcept, Double> scoredCandidates
String keyword, int maxGenes, Map<ONDEXConcept, Double> scoredGeneCandidates
)
{
log.info ( "Genomaps: generating XML..." );
Expand Down Expand Up @@ -351,8 +351,8 @@ else if ( id > size / 3 && id <= 2 * size / 3 )

// Add 'score' tag as well.
Double score = 0.0;
if ( scoredCandidates != null && scoredCandidates.get ( gene ) != null )
score = scoredCandidates.get ( gene ); // fetch score
if ( scoredGeneCandidates != null && scoredGeneCandidates.get ( gene ) != null )
score = scoredGeneCandidates.get ( gene ); // fetch score

sb.append ( "<score>" + score + "</score>\n" ); // score
sb.append ( "</feature>\n" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,7 @@ public Set<QTL> searchQTLsForTraitOld ( String keyword ) throws ParseException
}

/**
* TODO: this is the new version, which uses the new model gene->pheno->Trait, to be
* tested and activated when switching to the new test dataset.
* This is the new version, which uses the new model gene->pheno->Trait.
*
* TODO: wrap the exception
*/
Expand Down

0 comments on commit 8720e78

Please sign in to comment.