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

Update to Bioc3.18 and reduce merge memory #269

Merged
merged 9 commits into from
Apr 18, 2024

Conversation

jashapiro
Copy link
Member

This PR started as a couple small changes to reduce the merge memory footprint, but then I had to update some packages, so that ended up sneaking in.

The main changes worth a full look are in merge_sce_list.R where I changed a few purrr functions to prevent having to create copies of the sce_list. Some of these resulted in slightly more aggressive refactoring.

The other changes are mostly linting updates, now that we have pre-commit in here and some things were being rebuilt. Many of these are changes from single to double &, as is now required more aggressively. The changes cascaded a bit, with the most significant change being a place where I converted a bunch of tests to use stopifnot rather than separate if statements because that reduced the "cyclomatic complexity" by a good degree.

A lot of this is really in prep for #265, but I didn't want to put that in here so as not to end up bloating too much!

@jashapiro jashapiro requested a review from allyhawkins April 17, 2024 21:40
@jashapiro
Copy link
Member Author

jashapiro commented Apr 18, 2024

I realized that this update also updates zellkonverter, so there is a chance it would allow merged anndata export to work on bigger files. Anndata itself has been updated as well (though I did not change it in requirements here... I think that will happen in #265 where I am changing the way we manage that file.

Copy link
Member

@allyhawkins allyhawkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jashapiro jashapiro merged commit 951b569 into main Apr 18, 2024
2 checks passed
@jashapiro jashapiro deleted the jashapiro/reduce-merge-memory branch April 18, 2024 18:36
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