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

Feat smartspim zarr compression #2

Merged
merged 9 commits into from
May 30, 2024

Conversation

camilolaiton
Copy link
Collaborator

Adding SmartSPIM raw PNG to Zarr compression for all the stacks of tiles per channel using parallel computing.

@camilolaiton camilolaiton requested a review from jtyoung84 May 30, 2024 15:44
# Construct settings from env vars
job_settings = SmartspimJobSettings(
input_source="/data/SmartSPIM_714635_2024-03-18_10-47-48",
output_directory="/scratch/",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should output_directory and input_source be hardcoded? Pydantic BaseSettings classes have a neat feature where they'll automatically search for env vars if not set. So if you did something like export INPUT_SOURCE="/data/SmartSPIM_714635_2024-03-18_10-47-48" and export output_directory="/scartch/", then job_settings = SmartspimJobSettings() will pick them up.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, I was using that for testing. Thanks Jon!

@camilolaiton camilolaiton merged commit 1c3e7db into main May 30, 2024
0 of 3 checks passed
@camilolaiton camilolaiton deleted the feat-smartspim-zarr-compression branch May 30, 2024 17:03
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.

2 participants