-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Test writing h5ad in Python & in R #207
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the PR! Just needs a little bit of styling, I'm afraid!
@@ -0,0 +1,64 @@ | |||
# python, R | |||
# does not test numeric_dense, numeric_dense_with_nas or integer_dense |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you elaborate why not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because of issue #198
It might be better to just document this in the known_issues.yaml though
# nolint start | ||
for( r_name in r_datatypes){ | ||
test_that(paste0("Comparing a python generated .h5ad with obsm and varm '", name, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you use nolint start here?
Please reformat 🙇 You can use styler::style_pkg()
if you like
# nolint start | |
for( r_name in r_datatypes){ | |
test_that(paste0("Comparing a python generated .h5ad with obsm and varm '", name, | |
for (r_name in r_datatypes) { | |
test_that(paste0("Comparing a python generated .h5ad with obsm and varm '", name, |
Tests the writing of various anndata slots. Compares what gets written in Python with what gets written in R.