Skip to content

Commit

Permalink
Fix some issuses regarding displaying the results.
Browse files Browse the repository at this point in the history
  • Loading branch information
tabergma committed Mar 1, 2016
1 parent 81ef2a6 commit b78ea6f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public Execution executeAlgorithm(AlgorithmExecutionParams params) {
HibernateUtil.store(executionSetting);
} catch (Exception e) {
e.printStackTrace();
String message = "Could not build execution setting.";
String message = "Could not build execution setting";
if (e.getMessage() != null) {
message += ": " + e.getMessage();
}
Expand Down
7 changes: 4 additions & 3 deletions frontend/src/main/webapp/src/app/result/result.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ app.controller('ResultCtrl', function ($scope, $log, Executions, Results, $q, us
dependantUniquenessRatio: result.dependantUniquenessRatio,
pollution: result.pollution,
pollutionColumn: result.pollutionColumn,
informationGainCell: result.informationGainCell,
informationGainByte: result.informationGainByte
informationGainCell: result.informationGainCells,
informationGainByte: result.informationGainBytes
})
});
$scope.functionalDependency.data = $scope.functionalDependency.data.concat(rows)
Expand Down Expand Up @@ -274,7 +274,7 @@ app.controller('ResultCtrl', function ($scope, $log, Executions, Results, $q, us
var entry = {
columnCombination: '[' + combinations.join(',\n ') + ']',
columnRatio: result.columnRatio,
occurenceRatio: result.occurenceRatio,
occurrenceRatio: result.occurrenceRatio,
uniquenessRatio: result.uniquenessRatio
};
$scope.basicStatisticColumnNames.forEach(function(column) {
Expand Down Expand Up @@ -658,6 +658,7 @@ app.controller('ResultCtrl', function ($scope, $log, Executions, Results, $q, us
});
// load results
} else {
$scope.loading = false;
init();
loadDetailsForExecution();
}
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/main/webapp/src/app/result/result.html
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ <h2 class="md-title">Order Dependency</h2>
<tr class="result-header-row">
<th order-by="LHS" name="LHS"></th>
<th order-by="RHS" name="RHS "></th>
<th order-by="Order Type" name="OrderType"></th>
<th order-by="Comparison Operator" name="ComparisonOperator"></th>
<th order-by="OrderType" name="Order Type"></th>
<th order-by="ComparisonOperator" name="Comparison Operator"></th>
<th ng-if="extended" order-by="LHSColumnRatio" name="LHS Column Ratio"></th>
<th ng-if="extended" order-by="RHSColumnRatio" name="RHS Column Ratio"></th>
<th ng-if="extended" order-by="GeneralCoverage" name="General Coverage"></th>
Expand Down

0 comments on commit b78ea6f

Please sign in to comment.