Skip to content

Commit

Permalink
rename idinfo to taninfo
Browse files Browse the repository at this point in the history
  • Loading branch information
HLWeil committed Aug 11, 2023
1 parent f879b74 commit e366f99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ISA/ISA/JsonTypes/OntologyAnnotation.fs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type OntologyAnnotation =
OntologyAnnotation.create()


member this.IDInfo =
member this.TANInfo =
this.TermAccessionNumber
|> Option.bind Regex.tryParseTermAnnotation

Expand Down Expand Up @@ -101,12 +101,12 @@ type OntologyAnnotation =
///
/// If `TermAccessionString` cannot be parsed to this format, returns empty string!
member this.TermAccessionShort =
match this.IDInfo with
match this.TANInfo with
| Some id -> $"{id.IDSpace}:{id.LocalID}"
| _ -> ""

member this.TermAccessionOntobeeUrl =
match this.IDInfo with
match this.TANInfo with
| Some id -> OntologyAnnotation.createUriAnnotation id.IDSpace id.LocalID
| _ -> ""

Expand Down

0 comments on commit e366f99

Please sign in to comment.