au.csiro.variantspark.python.Metadata.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of variant-spark_2.11 Show documentation
Show all versions of variant-spark_2.11 Show documentation
Genomic variants interpretation toolkit
The newest version!
package au.csiro.variantspark.python
import java.util
import au.csiro.pbdava.ssparkle.common.utils.VersionInfo
import scala.collection.JavaConverters._
object Metadata {
def version(): String = VersionInfo.version
def gitProperties(): java.util.Map[java.lang.Object, java.lang.Object] = {
new util.HashMap[Object, Object](VersionInfo.gitProperties
.asInstanceOf[Map[Object, Object]]
.asJava)
}
def gitPropertiesAsString(): String =
VersionInfo.gitProperties.map(_.toString()).mkString("\n")
}