Skip to content

Commit

Permalink
Restructure library
Browse files Browse the repository at this point in the history
Also some typos fixed.
  • Loading branch information
omaus committed Jul 24, 2023
1 parent 4553f5c commit 989a736
Show file tree
Hide file tree
Showing 7 changed files with 929 additions and 929 deletions.
15 changes: 10 additions & 5 deletions src/FsOboParser/DBXref.fs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
open System


type DBXref = {
Name : string
Description : string
Modifiers : string
}

with
static member lol() = 1

module DBXref =

//Dbxref definitions take the following form:
Expand All @@ -26,11 +35,7 @@ module DBXref =
//def: "A ribonucleoprotein complex that contains an RNA molecule of the snoRNA family, and cleaves the rRNA precursor as part of rRNA transcript processing. It also has other roles: In S. cerevisiae it is involved in cell cycle-regulated degradation of daughter cell-specific mRNAs, while in mammalian cells it also enters the mitochondria and processes RNAs to create RNA primers for DNA replication." [GOC:sgd_curators, PMID:10690410, Add to Citavi project by Pubmed ID PMID:14729943, Add to Citavi project by Pubmed ID PMID:7510714] Add to Citavi project by Pubmed ID

//Note that the trailing modifiers (like all trailing modifiers) do not need to be decoded or round-tripped by parsers; trailing modifiers can always be optionally ignored. However, all parsers must be able to gracefully ignore trailing modifiers. It is important to recognize that lines which accept a dbxref list may have a trailing modifier for each dbxref in the list, and another trailing modifier for the line itself.
type DBXref = {
Name : string
Description : string
Modifiers : string
}


let trimComment (line : string) =
line.Split('!').[0].Trim()
Expand Down
2 changes: 1 addition & 1 deletion src/FsOboParser/FastOboGraph.fs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace FsOboParser

open OboTerm
//open OboTerm


////########################################
Expand Down
1 change: 1 addition & 0 deletions src/FsOboParser/FsOboParser.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<ItemGroup>
<Compile Include="DBXref.fs" />
<Compile Include="TermSynonym.fs" />
<Compile Include="test.fs" />
<Compile Include="OboTerm.fs" />
<Compile Include="OboTypeDef.fs" />
<Compile Include="OboOntology.fs" />
Expand Down
Loading

0 comments on commit 989a736

Please sign in to comment.