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

Added write header to writeToFile

parent 3db7fce6
......@@ -78,6 +78,7 @@ class BedRecordList(val chrRecords: Map[String, List[BedRecord]], header: List[S
def writeToFile(file: File): Unit = {
val writer = new PrintWriter(file)
header.foreach(writer.println)
allRecords.foreach(writer.println)
writer.close()
}
......
Markdown is supported
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