Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save a phenotype model #20

Open
richelbilderbeek opened this issue Apr 6, 2022 · 0 comments
Open

Save a phenotype model #20

richelbilderbeek opened this issue Apr 6, 2022 · 0 comments
Labels
low Low priority

Comments

@richelbilderbeek
Copy link
Contributor

richelbilderbeek commented Apr 6, 2022

test_that("use", {
  pheno_model_filename <- gcaer::get_gcae_pheno_model_filename("p1")
  skip("#20")
  pheno_model <- gcaer::read_pheno_model(pheno_model_filename)
  new_pheno_model_filename <- get_gcaer_tempfilename(
    pattern = "p314_",
    fileext = ".json"
  )
  save_pheno_model(
    pheno_model = pheno_model,
    pheno_model_filename = new_pheno_model_filename
  )

  new_pheno_model <- gcaer::read_pheno_model(new_pheno_model_filename)
  expect_identical(new_pheno_model, pheno_model)
})
@richelbilderbeek richelbilderbeek added the low Low priority label Apr 6, 2022
@richelbilderbeek richelbilderbeek changed the title Save a phenotype mode Save a phenotype model Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low Low priority
Projects
None yet
Development

No branches or pull requests

1 participant