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 Oct 3, 2023
1 parent 3bd008c commit cd3d6dd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 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
9 changes: 2 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ url = https://github.com/Hekstra-Lab/microutil
author = Ian Hunt-Isaak, John Russell
author_email = [email protected], [email protected]
license = BSD-3-Clause
license_file = LICENSE
license_files = LICENSE
platforms = Linux, Mac OS X, Windows
classifiers =
Intended Audience :: Developers
Expand All @@ -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.8

[options.extras_require]
all =
Expand Down

0 comments on commit cd3d6dd

Please sign in to comment.