Commit be1acd39 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Simplify sorting

parent 5a27308f
......@@ -102,8 +102,7 @@ object BiopetQScript extends Logging {
logger.debug(e.getStackTrace.mkString("Stack trace:\n", "\n", "\n"))
}
} else {
val set = errors.map(_.getMessage).toSet
set.toList.sorted.foreach(logger.error(_))
errors.map(_.getMessage).sorted.distinct.foreach(logger.error(_))
}
throw new IllegalStateException("Biopet found errors")
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment