-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/save file #4
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
base: develop
Are you sure you want to change the base?
Conversation
…unction moved upper
There was a problem hiding this 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.
src/modules/preprocessing.py
Outdated
| raise ValueError(f"{var} is not found in adata.var_names") | ||
|
|
Copilot
AI
Apr 5, 2025
There was a problem hiding this comment.
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.
| raise ValueError(f"{var} is not found in adata.var_names") | |
| raise ValueError(f"{var} is not found in adata.obs.columns") |
Pull Request: Add AnnData Save Function
Adds a utility function to save an
AnnDataobject usingadata.write().This is the recommended method for exporting data in
.h5adformat.