Skip to content

Commit

Permalink
Some cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
antolinos committed Mar 15, 2018
1 parent 5337523 commit e24b70c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions js/mx/view/datacollection/datacollectiongrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ DataCollectionGrid.prototype._getAutoprocessingStatistics = function(data) {

var nonSuccessProcessing = 0;
/** We should skip all processing that are not success: it means failed or running */
for (var i = 0; i < processingStatus.length; i++) {
debugger
for (var i = 0; i < processingStatus.length; i++) {
if (processingStatus[i] != "SUCCESS"){
nonSuccessProcessing = nonSuccessProcessing + 1;
}
Expand Down Expand Up @@ -149,8 +148,7 @@ DataCollectionGrid.prototype._getAutoprocessingStatistics = function(data) {
for ( i = 0; i < ids.length; i++) {
result.push(parsed[ids[i]]);
}
/** Rank results when anomouls is 0 */
debugger
/** Rank results when anomouls is 0 */
return new AutoprocessingRanker().rank(_.filter(result, {anomalous : '0'}), "spaceGroup");
//return new AutoprocessingRanker().rank(result, "spaceGroup");
};
Expand Down

0 comments on commit e24b70c

Please sign in to comment.