          selections = self.selections_to_list()
  
          if not self.check_valid_selection(loss_keys, selections):
              return False
          self.display_data = Calculations(session=self.session,
                                           display=self.vars["display"].get(),
                                           loss_keys=loss_keys,
 
</s> remove             msg = "No data to display. Not refreshing"
            logger.debug(msg)
            print(msg)
 </s> add             return False
        return True

    def check_valid_data(self):
        """ Check that the selections holds valid data to display
            NB: len-as-condition is used as data could be a list or a numpy array
        """
        logger.debug("Validating data. %s",
                     {key: len(val) for key, val in self.display_data.stats.items()})
        if any(len(val) == 0  # pylint:disable=len-as-condition
               for val in self.display_data.stats.values()): </s> remove         session = get_config().session
 </s> add         session = get_config()().session
            logger.warning("No data to display. Not refreshing")
          selections = self.selections_to_list()
  
          if not self.check_valid_selection(loss_keys, selections):
            logger.warning("No data to display. Not refreshing")
              return False
          self.display_data = Calculations(session=self.session,
                                           display=self.vars["display"].get(),
                                           loss_keys=loss_keys,
keep keep add keep keep keep keep
 GUI Fixups

- Analysis: Handle missing session Ids
- Analysis: Handle invalid data selections
- Analysis: Don't update graph on check box selection
- Analysis: Add cursor events to analysis tab
- Analysis: Change default graph view
- Training: Prevent GUI from attempting to close graphs which do not exist
- Extract/Convert: Make file extensions case-insensitive for preview
- Progress bar: Make compatible for downloads
- Progress bar: Add TQDM Description to progress bar stats text 
lib/gui/display_analysis.py