filtering of TSV data

parent 55b9c6f3
......@@ -80,7 +80,7 @@ dashboardControllers.controller('StudentReportsCtrl', function StudentReportsCtr
var method_filter = -1;
if ($scope.selected_method != '-1')
method_filter = JSON.parse($scope.selected_method);
tsvData = "method" + SEPARATOR + "instruction" + SEPARATOR + "instruction_begin" + SEPARATOR + "instruction_end" + SEPARATOR + "session_begin" + SEPARATOR + "session_end" + SEPARATOR + "try_begin" + SEPARATOR + "try_end" + "try_result" + SEPARATOR + "action" + SEPARATOR + "action_timestamp" + SEPARATOR + "action_expression\n";
tsvData = "method" + SEPARATOR + "instruction" + SEPARATOR + "instruction_begin" + SEPARATOR + "instruction_end" + SEPARATOR + "session_begin" + SEPARATOR + "session_end" + SEPARATOR + "try_begin" + SEPARATOR + "try_end" + SEPARATOR + "try_result" + SEPARATOR + "action" + SEPARATOR + "action_timestamp" + SEPARATOR + "action_expression\n";
var data = $scope.fulldata;
for (var i =0; i<data.methods.length; i++) {
for (var j=0; j<data.methods[i].instructions.length; j++) {
......
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 sign in to comment