-
Notifications
You must be signed in to change notification settings - Fork 5
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
Demonstrate image download process and prepare for full image download for JUMP plate BR00117006 #36
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
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! The code to download the images looks sound and formatted really well! Excited to see these all downloaded soon!
# quality of life for jupyter environments | ||
# ---------------------------------------- | ||
# automatically converts .ipynb to .py file on save within jupyter lab | ||
- conda-forge::jupytext | ||
# dependency of jupyterlab_code_formatter | ||
- conda-forge::black | ||
# dependency of jupyterlab_code_formatter | ||
- conda-forge::isort | ||
# used for formatting code within .ipynb files | ||
- conda-forge::jupyterlab_code_formatter |
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 really like this formatting here!
Thanks @jenna-tomkinson ! After making a small change based on your notes in #35 to avoid redownloading images, I will now merge this in. |
This PR demonstrates how we can download images from S3 paths using processed CytoTable data by referencing paths which originate from CellProfiler exports. For now, this work downloads images for the first row of data from BR00117006. That said, it is prepared to download the full image dataset with a small amount of changes. I'm queuing up this PR to make sure the work is reviewed prior to downloading the full dataset to conserve time.
I've also made adjustments to use Jupyter Lab through the project environment. Alongside this change I added two tools: JupyText (which automatically converts .ipynb files to .py files on notebook save), and jupyterlab_code_formatter (which automatically formats code as you write it within notebooks using Black and isort). These changes were added to help increase notebook development velocity.
Closes #31
Prepares for #32