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

Test writing h5ad in Python & in R #207

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

Test writing h5ad in Python & in R #207

wants to merge 21 commits into from

Conversation

LouiseDck
Copy link
Collaborator

Tests the writing of various anndata slots. Compares what gets written in Python with what gets written in R.

@LouiseDck LouiseDck marked this pull request as ready for review December 12, 2024 22:06
@LouiseDck LouiseDck requested a review from rcannood December 12, 2024 22:06
Copy link
Collaborator

@rcannood rcannood left a 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
Copy link
Collaborator

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?

Copy link
Collaborator Author

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

Comment on lines 139 to 141
# nolint start
for( r_name in r_datatypes){
test_that(paste0("Comparing a python generated .h5ad with obsm and varm '", name,
Copy link
Collaborator

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

Suggested change
# 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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants