Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 4, 2023
1 parent fc67f18 commit 7208a7f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion microutil/_unet.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@


def unet(pretrained_weights=None, input_size=(256, 256, 1)):

inputs = Input(input_size)
conv1 = Conv2D(64, 3, activation="relu", padding="same", kernel_initializer="he_normal")(inputs)
conv1 = Conv2D(64, 3, activation="relu", padding="same", kernel_initializer="he_normal")(conv1)
Expand Down
2 changes: 0 additions & 2 deletions microutil/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ def individualize(
topo_core_dims = []

if topology is not None and threshold is None:

raise ValueError(
"Must supply a threshold array which matches non-core dims of topology."
"Consider using mu.segmention.fast_otsu on -topology or simply"
Expand All @@ -272,7 +271,6 @@ def individualize(
)

def _individualize(mask, topology, threshold):

if topology is None:
topology = -ndi.morphology.distance_transform_edt(mask)

Expand Down
7 changes: 1 addition & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ classifiers =
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10

[options]
packages = find:
Expand All @@ -38,7 +33,7 @@ install_requires =
tifffile
xarray
zarr
python_requires = >=3.6
python_requires = >=3.7

[options.extras_require]
all =
Expand Down

0 comments on commit 7208a7f

Please sign in to comment.