Skip to content

Commit

Permalink
Format Python code with psf/black push (#290)
Browse files Browse the repository at this point in the history
There appear to be some python formatting errors in
38a1b7e. This pull request
uses the [psf/black](https://github.com/psf/black) formatter to fix
these issues.
  • Loading branch information
mzouink authored Sep 10, 2024
2 parents 1cb4748 + e4a84ac commit 637c53d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dacapo/experiments/datasplits/datasplit_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def resize_if_needed(
else:
return array_config


def limit_validation_crop_size(gt_config, mask_config, max_size):
gt_array = gt_config.array_type(gt_config)
voxel_shape = gt_array.roi.shape / gt_array.voxel_size
Expand Down Expand Up @@ -127,6 +128,7 @@ def limit_validation_crop_size(gt_config, mask_config, max_size):
)
return gt_config, mask_config


def get_right_resolution_array_config(
container: Path, dataset, target_resolution, extra_str=""
):
Expand Down

0 comments on commit 637c53d

Please sign in to comment.