Commit 92e11d75 authored by HERBERT Ryan's avatar HERBERT Ryan Committed by Vidjil Team

js/model.js added timepoint info accessor

parent 8aab0b47
...@@ -483,6 +483,14 @@ Model.prototype = { ...@@ -483,6 +483,14 @@ Model.prototype = {
return timestamp return timestamp
}, },
getInfoTime: function(time) {
var time = typeof time !== 'undefined' ? time : this.t
var info = "-"
if (typeof this.samples.info != 'undefined')
info = this.samples.info[time]
return info
},
/** /**
* return the soft version used to produce all samples results <br> * return the soft version used to produce all samples results <br>
* return "multiple" if different soft have been used for different samples * return "multiple" if different soft have been used for different samples
......
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