code: def import_fasst(self, checked=False, test_fasst=None, test_annot=None):
          
  
          if self.parent.info.filename is not None:
              fasst_file = splitext(self.parent.info.filename)[0] + '.mat'
              annot_file = splitext(self.parent.info.filename)[0] + '_scores.xml'
          else:
              fasst_file = annot_file = ''
  
          if test_fasst is None:
              fasst_file, _ = QFileDialog.getOpenFileName(self, 'Load FASST score file',
                                                          fasst_file,
                                                          'FASST score file (*.mat)')
          else:
              fasst_file = test_fasst
  
          if fasst_file == '':
              return
  
          if test_annot is None:
              annot_file, _ = QFileDialog.getSaveFileName(self, 'Create annotation file',
                                                          annot_file,
                                                          'Annotation File (*.xml)')
          else:
              annot_file = test_annot
  
          if annot_file == '':
              return
  
          try:
              create_annotation(annot_file, from_fasst=fasst_file)
          except BaseException as err:
              self.parent.statusBar().showMessage(str(err))
              lg.info(str(err))
              return
  
          try:
              self.update_notes(annot_file, False)
          except FileNotFoundError:
              msg = 'Annotation file not found'
              self.parent.statusBar().showMessage(msg)
              lg.info(msg)
docs: Action: import from FASST .mat file