          if len(loss[-1]) != length_loss:
              logger.debug("Truncated loss found. loss count: %s", len(loss))
              idx = sorted(data)[-1]
              if is_live:
                  logger.debug("Setting carried over data: %s", data)
                  self._carry_over[idx] = data[idx]
              logger.debug("Removing truncated loss: (timestamp: %s, loss: %s)",
                           timestamps[-1], loss[-1])
              del loss[-1]
              del timestamps[-1]
 
</s> remove         if len(loss[-1]) != length_loss:
 </s> add         if len(loss[-1]) != len(self._loss_labels): </s> remove         timestamps, loss = self._to_numpy(data, len(labels), is_live)
 </s> add         if labels:
            logger.debug("Setting loss labels: %s", labels)
            self._loss_labels = labels

        timestamps, loss = self._to_numpy(data, is_live) </s> remove         times, loss = self._process_data(data, times, loss, length_loss, is_live)
 </s> add         times, loss = self._process_data(data, times, loss, is_live) </s> remove         length_loss: int
            The number of loss items that should appear for each step
 </s> add 
                logger.debug("Setting carried over data: %s", data[idx])
          if len(loss[-1]) != length_loss:
              logger.debug("Truncated loss found. loss count: %s", len(loss))
              idx = sorted(data)[-1]
              if is_live:
                logger.debug("Setting carried over data: %s", data[idx])
                  self._carry_over[idx] = data[idx]
              logger.debug("Removing truncated loss: (timestamp: %s, loss: %s)",
                           timestamps[-1], loss[-1])
              del loss[-1]
              del timestamps[-1]
keep keep keep keep replace keep keep keep keep keep
 GUI - Analysis Bugfix
   - Get correct length of loss labels when carrying over raw data 
lib/gui/analysis/event_reader.py