-
Notifications
You must be signed in to change notification settings - Fork 150
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
Missing .raw attribute should raise proper exception #49
Comments
Added this 4148828 I also believe that it should be use_raw=False (not it is True) as the default option in scatter... |
The default option in |
This would be the corresponding commit: scverse/scanpy@9a7c0a9 |
Cool! That makes a lot of sense... |
This issue has been automatically marked as stale because it has not had recent activity. |
this is fixed |
Hey,
raises
ValueError: Did not find Sfpi1 in obs.keys or var_names.
However the correct exception should be ".raw doesn't exist" or so.How I ended up with this was actually
sc.pl.scatter(adata, 'Sfpi1', 'Gata1')
, which raises the same exception. Raising an exception explicitly about the lack of.raw
would be much more informative for users.I guess @Koncopd added the layer support, so he might be interested.
The text was updated successfully, but these errors were encountered: