-
Notifications
You must be signed in to change notification settings - Fork 13
anndata_dask_array.ipynb
: copy tweaks / improvements
#19
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: main
Are you sure you want to change the base?
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
c400939
to
1eafd86
Compare
Hi, thank you very much, this is a great idea. We really need to standardize a reproducibility story here, thank you for getting started here. I don‘t think One thing about your solution: The font rendering is kind of ugly. Can you check if installing |
Hia, I don’t know if you saw my comments above: Could you please take a look? |
- build a Python 3.11.8 / Ubuntu Docker image - mount in `$PWD` - execute notebook(s) - clean results (remove execution/timing metadata, canonicalize outputs)
…ed `dtype` kwarg to `AnnData`
Sorry, I finally got back to this.
ipycytoscape embeds "widgets" in the notebook, which render as placeholder text when I reload the notebook: I'm assuming they also won't render when compiled into a docsite either. lmk if I missed something there. On the Graphviz side, Dask's Let me know how you want to proceed. I was also thinking I should add an example of reading from Dask (based on Scanpy's Dask tutorial, that @ivirshup pointed me at) "One-liner" I used for extracting images (for reference, incl. my own)r=copy # Git ref
f=anndata_dask_array.ipynb # notebook path
git show $r:$f \
| jq -r '.cells[] | (.outputs // [])[].data.["image/png"] | select(.)' \
| head -n1 \
| base64 -d \
> $r.png |
anndata_dask_array.ipynb
da.random
/np.random
⟹ allow regenerating the notebook deterministically.python3.bak
→python3
Dockerfile
/regenerate.sh
Regenerate notebook files deterministically (in Docker / using juq to clean notebooks / canonicalize outputs), e.g.:
I've used it here on
anndata_dask_array.ipynb
, but not any other notebooks.