Skip to content

Commit

Permalink
Changin ensembl_gene_id to gene_id for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekGierlinski committed Apr 11, 2024
1 parent 8e9e5d1 commit bd433e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test_go.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ test_that("GO yeast from Ensembl is correct", {
)

expected_mapping <- tibble::tribble(
~term_id, ~ensembl_gene_id,
~term_id, ~gene_id,
"GO:0000166", "YNL102W",
"GO:0006096", "YKL060C",
"GO:0005199", "YKL096W-A",
Expand All @@ -105,6 +105,6 @@ test_that("GO yeast from Ensembl is correct", {
if(!is.null(re)) {
test_fetched_structure(re)
test_terms(re$terms, expected_terms)
test_mapping(re$mapping, expected_mapping, "ensembl_gene_id")
test_mapping(re$mapping, expected_mapping, "gene_id")
}
})

0 comments on commit bd433e3

Please sign in to comment.