Skip to content
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

Merged
merged 9 commits into from
Oct 25, 2024

Conversation

d33bs
Copy link
Member

@d33bs d33bs commented Oct 25, 2024

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

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Member

@jenna-tomkinson jenna-tomkinson left a 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!

Comment on lines +26 to +35
# 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
Copy link
Member

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!

@d33bs
Copy link
Member Author

d33bs commented Oct 25, 2024

Thanks @jenna-tomkinson ! After making a small change based on your notes in #35 to avoid redownloading images, I will now merge this in.

@d33bs d33bs merged commit d880e4d into WayScience:main Oct 25, 2024
@d33bs d33bs deleted the cosmicqc-image-processing-demo branch October 25, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Download example plate images from JUMP pilot cpg0000-jump-pilot
2 participants