Skip to content

Commit

Permalink
remove old term parser match cases
Browse files Browse the repository at this point in the history
  • Loading branch information
kMutagene committed Jul 27, 2023
1 parent bd06096 commit 76fc7b4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 18 deletions.
37 changes: 21 additions & 16 deletions src/ArcGraphModel/ISA/KeyParser.fs
Original file line number Diff line number Diff line change
Expand Up @@ -157,24 +157,29 @@ module KeyParser =
| Term InvestigationMetadata.cvTerms term ->
fun (pv) -> CvParam(term,pv,attributes)

| Token TokenBase.identifier term
| Token TokenBase.name term
| Token TokenBase.title term
| Token TokenBase.description term
| Token TokenBase.familyName term
| Token TokenBase.givenName term
| Token TokenBase.midInitials term
| Token TokenBase.email term
| Token TokenBase.factorType term
| Token TokenBase.designType term
| Token TokenBase.data term
| Token TokenBase.source term
| Token TokenBase.sample term
| Token TokenBase.annotationID term
| Token TokenBase.termSourceRef term
| Token TokenBase.phone term ->
| Term StudyMetadata.cvTerms term ->
fun (pv) -> CvParam(term,pv,attributes)

| Term AssayMetadata.cvTerms term ->
fun (pv) -> CvParam(term,pv,attributes)

//| Token TokenBase.identifier term
//| Token TokenBase.name term
//| Token TokenBase.title term
//| Token TokenBase.description term
//| Token TokenBase.familyName term
//| Token TokenBase.givenName term
//| Token TokenBase.midInitials term
//| Token TokenBase.email term
//| Token TokenBase.factorType term
//| Token TokenBase.designType term
//| Token TokenBase.data term
//| Token TokenBase.source term
//| Token TokenBase.sample term
//| Token TokenBase.annotationID term
//| Token TokenBase.termSourceRef term
//| Token TokenBase.phone term ->
// fun (pv) -> CvParam(term,pv,attributes)
//| Attribute AttributeBase.person (attribute,key)
//| Attribute AttributeBase.investigation (attribute,key)
//| Attribute AttributeBase.study (attribute,key)
Expand Down
4 changes: 2 additions & 2 deletions src/ArcGraphModel/ISA/Terms.fs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module InvestigationMetadata =
ontology.Terms
|> List.map (fun t -> CvTerm(t.Id,t.Name,"INVMSO"))

module Study =
module StudyMetadata =

let internal obo = (EmbeddedResource.load "structural_ontologies.study_metadata_structural_ontology.obo").Replace("\r\n", "\n").Split('\n')

Expand All @@ -36,7 +36,7 @@ module Study =
ontology.Terms
|> List.map (fun t -> CvTerm(t.Id,t.Name,"STDMSO"))

module Assay =
module AssayMetadata =

let internal obo = (EmbeddedResource.load "structural_ontologies.assay_metadata_structural_ontology.obo").Replace("\r\n", "\n").Split('\n')

Expand Down

0 comments on commit 76fc7b4

Please sign in to comment.