-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make image reader stateless to fix cubing (#460)
* test cubing with start_z and padding * make image_reader stateless to fix cubing * fix lint * update changelog * make methods static * unify the static method calls
- Loading branch information
1 parent
993c6e3
commit 26da565
Showing
6 changed files
with
220 additions
and
209 deletions.
There are no files selected for viewing
This file contains 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
Binary file not shown.
Binary file not shown.
This file contains 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,13 @@ | ||
set -xe | ||
mkdir -p testoutput/tiff_pad | ||
python -m wkcuber.cubing \ | ||
--jobs 2 \ | ||
--batch_size 8 \ | ||
--layer_name color \ | ||
--scale 1,1,1 \ | ||
--start_z 4 \ | ||
--pad \ | ||
testdata/tiff_with_different_dimensions testoutput/tiff_pad | ||
[ -d testoutput/tiff_pad/color ] | ||
[ -d testoutput/tiff_pad/color/1 ] | ||
[ -e testoutput/tiff_pad/datasource-properties.json ] |
This file contains 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.