Permalink
Browse files

Reply to PR comments

Signed-off-by: jpolchlo <jpolchlopek@azavea.com>
  • Loading branch information...
jpolchlo authored and echeipesh committed Apr 30, 2018
1 parent 2465dfe commit 0400346da30519419632058e8c25fa84c46752fb
Showing with 1 addition and 1 deletion.
  1. +1 −1 spark/src/main/scala/geotrellis/spark/pyramid/Pyramid.scala
@@ -71,7 +71,7 @@ object Pyramid extends LazyLogging {
): (Int, RDD[(K, V)] with Metadata[M]) = {
val Options(resampleMethod, partitioner) = options
assert(! Seq(CubicConvolution, CubicSpline, Lanczos).map(_ canEqual resampleMethod).reduce(_||_),
assert(!Seq(CubicConvolution, CubicSpline, Lanczos).contains(resampleMethod),
s"${resampleMethod} resample method is not supported for pyramid construction")
val sourceLayout = rdd.metadata.getComponent[LayoutDefinition]

0 comments on commit 0400346

Please sign in to comment.