          self.alignments.data.setdefault(frame, list()).append(alignment)
  
      def set_destination_filename(self):
          """ Set the destination filename """
          orig, ext = os.path.splitext(self.alignments.file)
          filename = "{}_merged{}".format(orig, ext)
          logger.debug("Output set to: '%s'", filename)
          self.alignments.file = filename
  
  
  class Reformat():
 
</s> remove         self.alignments = AlignmentData(self.args.alignments_file, dest_format)
 </s> add         if len(self.args.alignments_file) == 1:
            retval = AlignmentData(self.args.alignments_file[0], dest_format)
        else:
            retval = [AlignmentData(a_file, dest_format) for a_file in self.args.alignments_file]
        logger.debug("Alignments: %s", retval)
        return retval </s> remove             Tooltip(ctl, text=helptext, wraplength=720)
 </s> add             Tooltip(ctl, text=helptext, wraplength=920) </s> remove         self.alignments = alignments
        self.alignments2 = AlignmentData(arguments.alignments_file2, "json")
 </s> add         self.final_alignments = alignments[0]
        self.process_alignments = alignments[1:]
        folder = os.path.split(self.final_alignments.file)[0]
        ext = os.path.splitext(self.final_alignments.file)[1]
        now = datetime.now().strftime("%Y%m%d_%H%M%S")
        filename = os.path.join(folder, "alignments_merged_{}{}".format(now, ext))
          self.alignments.data.setdefault(frame, list()).append(alignment)
  
      def set_destination_filename(self):
          """ Set the destination filename """
        folder = os.path.split(self.final_alignments.file)[0]
        ext = os.path.splitext(self.final_alignments.file)[1]
        now = datetime.now().strftime("%Y%m%d_%H%M%S")
        filename = os.path.join(folder, "alignments_merged_{}{}".format(now, ext))
        folder = os.path.split(self.final_alignments.file)[0]
        ext = os.path.splitext(self.final_alignments.file)[1]
        now = datetime.now().strftime("%Y%m%d_%H%M%S")
        filename = os.path.join(folder, "alignments_merged_{}{}".format(now, ext))
          logger.debug("Output set to: '%s'", filename)
          self.alignments.file = filename
  
  
  class Reformat():
keep keep keep keep replace replace keep keep keep keep keep
 Alignments Tool: Allow merging of many alignments file

Adds multi select functionality to GUI, meaning multiple alignments files can now be selected for merging.

Extract: nFilter, Filter now have a file dialog in gui for selecting 1/multiple files 
tools/lib_alignments/jobs.py