Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.released.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released
### Highlights
- The fill tool can now be adapted so that it only acts within a specified bounding box. Use the new "Restrict Floodfill" mode for that in the toolbar. [#8267](https://github.com/scalableminds/webknossos/pull/8267)
- Added the option for "Selective Segment Visibility" for segmentation layers. Select this option in the left sidebar to only show segments that are currently active or hovered. [#8281](https://github.com/scalableminds/webknossos/pull/8281)
- Segment and tree names can be edited by doubleclicking them. [#8316](https://github.com/scalableminds/webknossos/pull/8316)
- Segment and tree names can be edited by double-clicking them. [#8316](https://github.com/scalableminds/webknossos/pull/8316)

### Added
- Added the total volume of a dataset to a tooltip in the dataset info tab. [#8229](https://github.com/scalableminds/webknossos/pull/8229)
- Optimized performance of data loading with “fill value“ chunks. [#8271](https://github.com/scalableminds/webknossos/pull/8271)
- Added the option to export a segmentation that was corrected with the proofreading tool to a new segmentation. [#8286](https://github.com/scalableminds/webknossos/pull/8286)
- A segment can be activated with doubleclick now. [#8281](https://github.com/scalableminds/webknossos/pull/8281)
- A segment can be activated with double-click now. [#8281](https://github.com/scalableminds/webknossos/pull/8281)
- It is now possible to select the magnification of the layers on which an AI model will be trained. [#8266](https://github.com/scalableminds/webknossos/pull/8266)
- Added support for translations in OME NGFF zarr datasets (translation within coordinateTransformations on datasets). [#8311](https://github.com/scalableminds/webknossos/pull/8311)
- When the eraser tool is active, one can switch temporarily to the fill-segment tool by pressing shift and ctrl. Only pressing shift, switches to the pick-segment tool. [#8314](https://github.com/scalableminds/webknossos/pull/8314)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ class DatasetSettings extends React.PureComponent<DatasetSettingsProps, State> {
<FastTooltip
title={
isSelectiveVisibilityDisabled
? "This behavior is overriden by the 'selective segment visibility' button in the toolbar, because the proofreading tool is active."
? "This behavior is overridden by the 'selective segment visibility' button in the toolbar, because the proofreading tool is active."
: "When enabled, only hovered or active segments will be shown."
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,7 @@ package com.scalableminds.webknossos.datastore.services.uploading

import com.scalableminds.util.io.PathUtils
import com.scalableminds.util.tools.{Fox, FoxImplicits}
import com.scalableminds.webknossos.datastore.dataformats.layers.{
N5DataLayer,
N5SegmentationLayer,
PrecomputedDataLayer,
PrecomputedSegmentationLayer,
WKWDataLayer,
WKWSegmentationLayer,
Zarr3DataLayer,
Zarr3SegmentationLayer,
ZarrDataLayer,
ZarrSegmentationLayer
}
import com.scalableminds.webknossos.datastore.dataformats.layers.{WKWDataLayer, WKWSegmentationLayer}
import com.scalableminds.webknossos.datastore.models.VoxelSize
import com.scalableminds.webknossos.datastore.models.datasource._
import com.scalableminds.webknossos.datastore.services.{
Expand Down Expand Up @@ -103,30 +92,9 @@ class ComposeService @Inject()(dataSourceRepository: DataSourceRepository,
_ <- Fox.runIf(!layerIsRemote)(
datasetSymlinkService.addSymlinksToOtherDatasetLayers(uploadDir, List(linkedLayerIdentifier)))
editedLayer: DataLayer = layer match {
case l: PrecomputedDataLayer =>
l.copy(name = composeLayer.newName,
coordinateTransformations = applyCoordinateTransformations(l.coordinateTransformations))
case l: PrecomputedSegmentationLayer =>
l.copy(name = composeLayer.newName,
coordinateTransformations = applyCoordinateTransformations(l.coordinateTransformations))
case l: ZarrDataLayer =>
l.copy(name = composeLayer.newName,
coordinateTransformations = applyCoordinateTransformations(l.coordinateTransformations))
case l: ZarrSegmentationLayer =>
l.copy(name = composeLayer.newName,
coordinateTransformations = applyCoordinateTransformations(l.coordinateTransformations))
case l: N5DataLayer =>
l.copy(name = composeLayer.newName,
coordinateTransformations = applyCoordinateTransformations(l.coordinateTransformations))
case l: N5SegmentationLayer =>
l.copy(name = composeLayer.newName,
coordinateTransformations = applyCoordinateTransformations(l.coordinateTransformations))
case l: Zarr3DataLayer =>
l.copy(name = composeLayer.newName,
coordinateTransformations = applyCoordinateTransformations(l.coordinateTransformations))
case l: Zarr3SegmentationLayer =>
l.copy(name = composeLayer.newName,
coordinateTransformations = applyCoordinateTransformations(l.coordinateTransformations))
case l: DataLayerWithMagLocators =>
l.mapped(name = composeLayer.newName,
coordinateTransformations = applyCoordinateTransformations(l.coordinateTransformations))
case l: WKWDataLayer =>
l.copy(name = composeLayer.newName,
coordinateTransformations = applyCoordinateTransformations(l.coordinateTransformations))
Expand Down