-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add printing to remaining classes #31
Conversation
Different output format to match Python
Match Python output
Adjust Registry printing
These would cause issues if the docs are ever rendered. Content was moved to @description.
.api: API, R6 | ||
.module_classes: list | ||
.settings: InstanceSettings, R6 | ||
cellxgene Instance(modules='c('core', 'bionty')') |
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.
This should probably say something like cellxgene Instance(modules=c('core', 'bionty'))
.
Given that there is currently no documentation on what you can or cannot do with an Instance class, could we shed some light on:
- The instance core classes
- An instance's extra modules (e.g. bionty, wetlab)
- A list of functions uses can call
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.
Or maybe this is something that should be part of something like instance$describe()
? Shall I make a separate issue for this?
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.
I've changed it to the longer format I was using for Module
and Registry
. I think that should show enough info now. The examples above are updated.
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.
LGTM!
* origin/main: Add printing to remaining classes (#31) Improve error messages (#30) Update documentation (#29) Return `NULL` when a record's related field is empty (#28) minor fix in usage vignette (#32) Add usage vignette (#18) Add a simple unit test which queries laminlabs/lamindata (#27) bump action from v4.5.0 to v4 (#26)
Add
print()
andto_string()
methods to the remaining R6 classes. Output tries to replicate the Python formatting except for some cases where the corresponding Python object doesn't have a print output.