Skip to content

Commit

Permalink
test examples for generic table parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
anitacaron committed Apr 24, 2024
1 parent 33ada98 commit a1409a9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/generic-test.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
s slabel user_slabel o olabel user_olabel
Binary file added tests/test-generic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions tests/test-generic.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Organ_Level_1 ID Organ_Level_1 Anatomical_Level_2 ID Anatomical_Level_2 Anatomical_Level_3 ID Anatomical_Level_3 Anatomical_Level_4 ID Anatomical_Level_4
UBERON:0000955 Brain UBERON:0001890 Forebrain UBERON:0001894 Diencephalon UBERON:0001900 Prethalamus
UBERON:0000955 Brain UBERON:0001890 Forebrain UBERON:0001894 Diencephalon UBERON:0001898 Hypothalamus
UBERON:0000955 Brain UBERON:0001890 Forebrain UBERON:0001894 Diencephalon UBERON:0001900 Subthalamus
5 changes: 5 additions & 0 deletions tests/test-generic_parsed.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
s slabel user_slabel o olabel user_olabel
UBERON:0001890 Forebrain UBERON:0000955 Brain
UBERON:0001894 Diencephalon UBERON:0001890 Forebrain
UBERON:0001900 Subthalamus UBERON:0001894 Diencephalon
UBERON:0001898 Hypothalamus UBERON:0001894 Diencephalon
3 changes: 2 additions & 1 deletion tests/test-parser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ relationships:
has_part: BFO:0000051
# has_soma_location: RO:0002100

filename: tests/placenta.csv
filename: tests/test-generic.tsv
to_be_parsed: true

0 comments on commit a1409a9

Please sign in to comment.