interface/src/app/heatmap.service.js
Function rebuildHeatmapActivity
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
rebuildHeatmapActivity: function() {
if (!this.mlmodel.id) {
// ignore "rebuild" requests until a model is specified
$log.info(
'rebuildHeatmapActivity: skipping because mlmodel=', this.mlmodel
Function updateHeatmapActivity
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var updateHeatmapActivity = function() {
// when all promises are fulfilled, we can update vegaData
var newActivity = [];
var excludeSamples = [];