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

Added some scaladocs

parent ce4d4d49
......@@ -21,6 +21,9 @@ import scala.io.Source
import nl.lumc.sasc.biopet.core.config.Config
import nl.lumc.sasc.biopet.utils.ConfigUtils._
/**
* This tool can convert a tsv to a json file
*/
object SamplesTsvToJson extends ToolCommand {
case class Args(inputFiles: List[File] = Nil) extends AbstractArgs
......@@ -29,6 +32,11 @@ object SamplesTsvToJson extends ToolCommand {
c.copy(inputFiles = x :: c.inputFiles)
} text ("Input must be a tsv file, first line is seen as header and must at least have a 'sample' column, 'library' column is optional, multiple files allowed")
}
/**
* Executes SamplesTsvToJson
* @param args
*/
def main(args: Array[String]): Unit = {
val argsParser = new OptParser
val commandArgs: Args = argsParser.parse(args, Args()) getOrElse sys.exit(1)
......
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