Repository navigation
Fix/deepcopy subset - #670
Merged
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #670 +/- ##
==========================================
- Coverage 83.09% 83.08% -0.02%
==========================================
Files 34 34
Lines 4349 4351 +2
==========================================
+ Hits 3614 3615 +1
- Misses 735 736 +1
|
ivirshup
self-requested a review
January 11, 2022 08:58
ivirshup
approved these changes
Jan 11, 2022
ivirshup
left a comment
Member
There was a problem hiding this comment.
That problem is weirder that I thought. How has this not come up before?
Anyways, LGTM. Thanks for the fix!
ivirshup
added a commit
to ivirshup/anndata
that referenced
this pull request
Jan 11, 2022
I'm not sure what was going on with the `if not self.is_backed: if self.is_view` chunk. Was possibly fixed by scverse#670
ivirshup
added a commit
that referenced
this pull request
Jan 11, 2022
* Add X=None IO tests * Fix `adata.copy` when `X = None` I'm not sure what was going on with the `if not self.is_backed: if self.is_view` chunk. Was possibly fixed by #670 * Allow ad.concat(...) when all anndatas to be concatenated have `.X = None` Additionally, throws a not implemented error for the case where only some AnnData's have a value for `.X` * adata.to_df() now errors when adata.X is None * Test to_df on views when X is None * Re-use ._has_X in ._mutated_copy * Allow _subset_inplace when X is None * Release note (looks like last additions were never announced)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #656