Skip to content

Commit

Permalink
update extension method syntax to reflect typeclass change; order imp…
Browse files Browse the repository at this point in the history
…orts
  • Loading branch information
vreuter committed Aug 5, 2024
1 parent 521f255 commit 55f868f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/roi/src/main/scala/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ import mouse.boolean.*
import com.bc.zarr.ZarrArray

import at.ac.oeaw.imba.gerlich.gerlib.geometry.Point3D
import at.ac.oeaw.imba.gerlich.gerlib.imaging.ImagingTimepoint
import at.ac.oeaw.imba.gerlich.gerlib.imaging.ImagingChannel
import at.ac.oeaw.imba.gerlich.gerlib.numeric.*
import at.ac.oeaw.imba.gerlich.gerlib.numeric.extrema.*
import at.ac.oeaw.imba.gerlich.gerlib.syntax.all.*
import at.ac.oeaw.imba.gerlich.gerlib.zarr.OmeZarrIndex
import at.ac.oeaw.imba.gerlich.gerlib.zarr.OmeZarr.IndexMapping
import at.ac.oeaw.imba.gerlich.gerlib.zarr.OmeZarrIndex.OmeZarrBlockSize
import at.ac.oeaw.imba.gerlich.gerlib.zarr.OmeZarrIndex.OmeZarrStandardCoordinate
import at.ac.oeaw.imba.gerlich.gerlib.zarr.ZarrArrayExtras.*
import at.ac.oeaw.imba.gerlich.gerlib.imaging.ImagingTimepoint
import at.ac.oeaw.imba.gerlich.gerlib.imaging.ImagingChannel

/** Types and tools for working with regions of interest (ROIs) */
package object roi:
Expand Down Expand Up @@ -149,7 +150,7 @@ package object roi:
Multiarray
.maybe(depth)(rawResult)
.toValidNel(
s"Cannot refine array of length ${rawResult.length} as pivoting every ${depth.show} elements"
s"Cannot refine array of length ${rawResult.length} as pivoting every ${depth.show_} elements"
)
.toEither
}
Expand Down

0 comments on commit 55f868f

Please sign in to comment.