Skip to content

Conversation

@MelisCakan
Copy link
Collaborator

Pull Request: Add AnnData Save Function

Adds a utility function to save an AnnData object using adata.write().

This is the recommended method for exporting data in .h5ad format.

image

@TRextabat TRextabat requested review from TRextabat and Copilot and removed request for Copilot April 5, 2025 09:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

Comment on lines 12 to 13
raise ValueError(f"{var} is not found in adata.var_names")

Copy link

Copilot AI Apr 5, 2025

Choose a reason for hiding this comment

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

The error message in the following line incorrectly references 'adata.var_names' instead of 'adata.obs.columns'. Consider updating the error message to accurately reflect the column lookup.

Suggested change
raise ValueError(f"{var} is not found in adata.var_names")
raise ValueError(f"{var} is not found in adata.obs.columns")

Copilot uses AI. Check for mistakes.
@IEEE-Ege IEEE-Ege deleted a comment from Copilot AI Apr 5, 2025
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.

4 participants