Skip to content

Commit

Permalink
update cassettes
Browse files Browse the repository at this point in the history
  • Loading branch information
normanrz committed Sep 26, 2023
1 parent 6190084 commit aefbfd3
Show file tree
Hide file tree
Showing 35 changed files with 1,377 additions and 4,408 deletions.
2 changes: 1 addition & 1 deletion webknossos/examples/learned_segmenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def main() -> None:

# Step 2: Initialize a machine learning model to segment our dataset
features_func = partial(
feature.multiscale_basic_features, multichannel=True, edges=False
feature.multiscale_basic_features, channel_axis=2, edges=False
)
segmenter = TrainableSegmenter(features_func=features_func)

Expand Down
2 changes: 1 addition & 1 deletion webknossos/examples/zarr_and_dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def main() -> None:

zarr_array = mag_view.get_zarr_array()
dask_array = da.from_array(zarr_array, chunks=(1, 256, 256, 256))[
(0,) + mag_view.bounding_box.in_mag(MAG).to_slices()
(slice(0, 1),) + mag_view.bounding_box.in_mag(MAG).to_slices()
]

mean_value = dask_array.mean().compute()
Expand Down
19 changes: 11 additions & 8 deletions webknossos/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webknossos/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ openapi-python-client = "0.14.1"
pylint = "^2.16.2"
pytest = "^7.2.1"
pytest-custom-exit-code = "^0.3.0"
pytest-recording = "^0.12.0"
pytest-recording = "^0.13.0"
pytest-split = "^0.8.0"
pytest-sugar = "^0.9.4"
pytest-timeout = "^2.1.0"
Expand Down
Loading

0 comments on commit aefbfd3

Please sign in to comment.