-
Notifications
You must be signed in to change notification settings - Fork 1
Support for OME-ZARR input #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
Open
cgoina
wants to merge
21
commits into
PreibischLab:main
Choose a base branch
from
cgoina:ome
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
1ede79e
A first attempt to partition 5d array
cgoina f0568a8
Refactored the CSV writing to output the correct channel and timepoin…
cgoina f92e550
suppress warnings
cgoina 80fc18b
docker recipe; bump up version
cgoina a02fd8f
formatting
cgoina abc8d77
fixed condition
cgoina d7863f1
added comment
cgoina 12b7e9b
message to be able to track the processing block easier
cgoina 5813a18
updated jar reference in the README
cgoina cd5c5b3
use versions from pom-scijava-40.0.0
cgoina 18ca964
use OME NGFF metadata to get axis info
cgoina d298dc6
update git hash in docker image
cgoina 7603887
parameters for time and channel intervals
cgoina a06db09
parameter to exclude channels from RS-FISH
cgoina 0a368ab
exclude log4j backends from dependencies
cgoina e1a45d0
add parameter for processed channels
cgoina f5cad2d
Added per channel RadialSym parameters
cgoina 63f5b7b
updated build docker script
cgoina 6a7f522
parameter for intensityMethod
cgoina 991935b
changed the lookup to return the options not the index
cgoina ded148b
Short flag for intensityMethod; RadialSymParamsGroup made package pro…
cgoina File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| .idea | ||
| target | ||
| dependency-reduced-pom.xml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| ARG SPARK_VERSION=3.3.2-scala2.12-java17-ubuntu24.04 | ||
| ARG RS_FISH_SPARK_GIT_HASH=a06db09 | ||
|
|
||
| FROM ghcr.io/janeliascicomp/spark:${SPARK_VERSION} | ||
| ARG RS_FISH_SPARK_GIT_HASH | ||
|
|
||
| LABEL \ | ||
| org.opencontainers.image.title="RS-FISH Spark" \ | ||
| org.opencontainers.image.description="Spark version of RS-FISH" \ | ||
| org.opencontainers.image.authors="[email protected],[email protected],[email protected]" \ | ||
| org.opencontainers.image.licenses="GPL-2.0" \ | ||
| org.opencontainers.image.version=${RS_FISH_SPARK_GIT_HASH} | ||
|
|
||
| USER root | ||
|
|
||
| RUN apt update -y; \ | ||
| apt-get install -y \ | ||
| libblosc1 libblosc-dev \ | ||
| libzstd1 libzstd-dev libhdf5-dev; | ||
|
|
||
| WORKDIR /app | ||
| COPY LICENSE.txt /app/LICENSE.txt | ||
| COPY target/RS-FISH-Spark-0.0.2-SNAPSHOT-with-dependencies.jar /app/app.jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| #!/bin/bash | ||
|
|
||
| # Run this using `./build-docker-image.sh docker|podman --load|--push` | ||
|
|
||
| BUILD_CONTAINER_TOOL=$1 | ||
| shift | ||
| GIT_HASH=f5cad2d | ||
|
|
||
| echo "Build RS-FISH:${GIT_HASH} container using ${BUILD_CONTAINER_TOOL}" | ||
|
|
||
| if [[ "${BUILD_CONTAINER_TOOL}" == "podman" ]] ; then | ||
| podman build \ | ||
| --platform linux/arm64,linux/amd64 \ | ||
| --tag ghcr.io/janeliascicomp/rs-fish-spark:${GIT_HASH} \ | ||
| --build-arg RS_FISH_SPARK_GIT_HASH=${GIT_HASH} \ | ||
| . \ | ||
| $* | ||
| else | ||
| docker buildx build \ | ||
| --platform linux/arm64,linux/amd64 \ | ||
| --tag ghcr.io/janeliascicomp/rs-fish-spark:${GIT_HASH} \ | ||
| --build-arg RS_FISH_SPARK_GIT_HASH=${GIT_HASH} \ | ||
| . \ | ||
| $* | ||
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Hi @cgoina, I do not think changes to this class are necessary. We simply need to use Views.hyperslice() in the SparkRSFISH class ...
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 had it like that initially but IMO these made the code in SparkRSFISH cleaner
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.
Why?
What I do not like is that statements like
if ( d < 3 )andreturn min.length > 3 ? Arrays.copyOf(min, 3) : min;do some "magic" depending on the input and are very fragile. What happens when I select a block size in c & t > 1?I would like to keep it the way it is because a Block is a unit that computation is done on, which is either 2D or 3D.