Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Added note re: cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav committed May 19, 2022
1 parent 74c44da commit 9b1bed2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/scala/org/renci/cam/QueryService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,8 @@ object QueryService extends LazyLogging {
nodeMap
}

// TODO:
// - Change this to cached queries (see mapQueryBiolinkPredicatesToRelations for example)
def mapRelationsToLabelAndBiolink(relations: Set[IRI]): RIO[ZConfig[AppConfig] with HttpClient, Map[IRI, (Option[String], IRI)]] = {
final case class RelationInfo(relation: IRI, biolinkSlot: IRI, label: Option[String])
val queryText = sparql"""
Expand Down

0 comments on commit 9b1bed2

Please sign in to comment.