-
Notifications
You must be signed in to change notification settings - Fork 59
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
save h5ad error [TypeError: Can't implicitly convert non-string objects to strings] #622
Comments
Hi, thanks for reporting this issue. Could you tell me which version of Dynamo you are using? I feel like this may be related to a recent pull request. It is not available in the released version yet. |
@Sichao25 Hi, the version I used is 1.1.0. |
I think you can get rid of the issue by downloading from github |
@Sichao25 hi, the 1.3.2 version also error,how do I solve this problem? Thanks a lot! |
Sorry for not making this clear. You may need to a later version like We will have a new version coming soon. That will make everything easier. |
@Sichao25 hi thanks to your reply. I try the code: |
This is a compatibility issue with |
@Sichao25 Thank you very much for your prompt reply! By installing the latest version of dynamo and using notebook to analysis, I can save the h5ad files normally with dyn.export_h5ad() function. |
No problem. I will keep this issue open until we have the new version released. |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days |
(if so, please google the answers).
--- Hi,
If this is a question and not a bug report or enhancement request, please post to our Github Discussions channel at https://github.com/aristoteleo/dynamo-release/discussions
Describe the bug
A clear and concise description of what the bug is.
Thank you to your team for developing dynamo, I encountered an error while running dynamo.
I want to save the processed result of dynamo but could not.
first, I encountered "TypeError: Can't implicitly convert non-string objects to strings
Above error raised while writing key 'beta' of <class 'h5py._hl.group.Group'> to /"
And then I change the .var['beta'] to string type: adata_hsc_raw.var['beta'] = adata_hsc_raw.var['beta'].astype(str) .
But it reports the same error with 'gamma'.
How do I solve this problem? Thanks a lot!
To Reproduce
The code that produced the bug:
Minimal data may be provided to reproduce the bug
Traceback
Post the error message from the Tracebook output:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
session_info.show():
Install session-info via
pip install session-info
and post the output after running session_info.show()Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: