Commit 7787bfb5 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

pdf.js: displaying analysis timestamp caused an exception

parent 2f5cd679
......@@ -128,7 +128,7 @@ PDF.prototype = {
// todo: fill again with reliable data :)
// this.doc.text(this.marge + 5, this.y + 10, 'run: 2013-10-03');
if (typeof this.m.timestamp != 'undefined'){
this.doc.text(this.marge + 5, this.y + 15, 'analysis: ' + this.m.timestamp.split(' ')[0]);
this.doc.text(this.marge + 5, this.y + 15, 'analysis: ');// + this.m.timestamp.split(' ')[0]);
}
this.doc.text(this.marge + 5, this.y + 20, 'germline: ' + this.m.system);
......
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