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

fix obs and var defaults to return all values if none spec'd #676

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

spencerseale
Copy link
Collaborator

Setting as empty list if None specified for obs_attrs and/or var_attrs results in an AnnData not having all attributes in obs/var dataframes.

Copy link
Collaborator

@sgillies sgillies left a comment

Choose a reason for hiding this comment

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

@spencerseale Just a bug fix, yes? No extra documentation needed?

@spencerseale
Copy link
Collaborator Author

@sgillies yes just bug fix. I want to make sure @aaronwolen reviews prior to merge. There may be some historical context on why we do the x or [] logic.

@sgillies sgillies merged commit bef07b1 into main Oct 30, 2024
18 checks passed
@sgillies sgillies deleted the spencerseale/sc-58412/collection_mapper_defaults branch October 30, 2024 19:17
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.

3 participants