diff --git a/zetta_utils/mazepa_layer_processing/common/subchunkable_apply_flow.py b/zetta_utils/mazepa_layer_processing/common/subchunkable_apply_flow.py index d82dcd03..e3ebb76b 100644 --- a/zetta_utils/mazepa_layer_processing/common/subchunkable_apply_flow.py +++ b/zetta_utils/mazepa_layer_processing/common/subchunkable_apply_flow.py @@ -157,7 +157,7 @@ def build_postpad_subchunkable_apply_flow( # pylint: disable=keyword-arg-before f"\t`processing_blend`:\t\t{tuple(processing_blend)}\t(at all levels)\n" "As core chunk sizes, before padding for crop and blend:\n" f"\t`processing_chunk_sizes`:" - "\t{', '.join(size.pformat() for size in processing_chunk_sizes)}\n" + f"\t{', '.join(size.pformat() for size in processing_chunk_sizes)}\n" "The bottom level chunk size will be respected to maintain the input size of " f"{tuple(processing_input_sizes[-1])} while the other levels will be " "treated as upper bounds, fitting in as many chunks as possible." @@ -1158,11 +1158,11 @@ def _build_subchunkable_apply_flow( # pylint: disable=keyword-arg-before-vararg error_str = ( "At each level (where the 0-th level is the smallest), the" " `processing_chunk_size[level+1]` + 2*`processing_crop_pad[level+1]` + 2*`processing_blend_pad[level+1]`" - " + processing_gap must be" + " + `processing_gap` must be" f" evenly divisible by the `processing_chunk_size[level]` + processing_gap (processing_gap applies only on top level).\n" f"\nAt level {level}, received:\n" f"`processing_chunk_size[level+1]`:\t\t\t\t\t\t{processing_chunk_size_higher}\n" - f"`applicable processing_gap`:\t\t\t\t\t\t\t\t{processing_gap_higher}\n" + f"`processing_gap`:\t\t\t\t\t\t\t\t{processing_gap_higher}\n" f"`processing_crop_pad[level+1]` ((0, 0, 0) for the top level):\t\t\t{processing_crop_pad_higher}\n" f"`processing_blend_pad[level+1]`:\t\t\t\t\t\t{processing_blend_pad_higher}\n" f"Size of the region to be processed for the level:\t\t\t\t{processing_region}\n"