-
Notifications
You must be signed in to change notification settings - Fork 90
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 AnnData as format #2974
Add AnnData as format #2974
Conversation
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 needs tests and changelog entry.
Might makes to add anndata
as extra dependency, see
Line 70 in 9c1d054
extras_require={ |
Also it would be useful if you provide sample .h5ad file.
I think this looks good. I can’t run gendocs though, I get Starting pydocmd_main...
Started generating documentation...
Traceback (most recent call last):
File "/home/phil/Dev/Python/Misc/Quilt/gendocs/build.py", line 90, in <module>
pydocmd_main()
File "/home/phil/Dev/Python/Misc/Quilt/.venv/lib/python3.10/site-packages/pydocmd/__main__.py", line 251, in main
loader.load_section(section)
File "/home/phil/Dev/Python/Misc/Quilt/.venv/lib/python3.10/site-packages/pydocmd/loader.py", line 87, in load_section
sig = get_function_signature(obj, scope if inspect.isclass(scope) else None)
File "/home/phil/Dev/Python/Misc/Quilt/.venv/lib/python3.10/site-packages/pydocmd/loader.py", line 138, in get_function_signature
sig = str(inspect.signature(function))
File "/usr/lib/python3.10/inspect.py", line 3247, in signature
return Signature.from_callable(obj, follow_wrapped=follow_wrapped,
File "/usr/lib/python3.10/inspect.py", line 2995, in from_callable
return _signature_from_callable(obj, sigcls=cls,
File "/usr/lib/python3.10/inspect.py", line 2392, in _signature_from_callable
raise TypeError('{!r} is not a callable object'.format(obj))
TypeError: <classmethod(<function Package.install at 0x7f29436355a0>)> is not a callable object |
Codecov Report
@@ Coverage Diff @@
## master #2974 +/- ##
==========================================
+ Coverage 35.14% 35.27% +0.12%
==========================================
Files 679 679
Lines 29616 29658 +42
Branches 4400 4400
==========================================
+ Hits 10410 10462 +52
+ Misses 18013 18003 -10
Partials 1193 1193
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
OK, done! |
those tests are pretty flaky, I didn’t touch lambda and now it fails … |
@sir-sigurd Can you please review the PR? |
Co-authored-by: Sergey Fedoseev <[email protected]>
Description
Add AnnData as supported format
TODO
build.py
for new docstrings