              elif optval == "True":
                  yield (opt, )
              else:
                  if option.get("nargs", None):
                      optval = optval.split(" ")
                      opt = [opt] + optval
                  else:
                      opt = (opt, optval)
                  yield opt
 
</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         setattr(namespace, self.dest, os.path.abspath(
            os.path.expanduser(values)))
 </s> add         if isinstance(values, (list, tuple)):
            vals = [os.path.abspath(os.path.expanduser(val)) for val in values]
        else:
            vals = os.path.abspath(os.path.expanduser(values))
        setattr(namespace, self.dest, vals)
                    if "\"" in optval:
                        optval = [arg[1:-1] for arg in re.findall(r"\".+?\"", optval)]
                    else:
                        optval = optval.split(" ")
              elif optval == "True":
                  yield (opt, )
              else:
                  if option.get("nargs", None):
                    if "\"" in optval:
                        optval = [arg[1:-1] for arg in re.findall(r"\".+?\"", optval)]
                    else:
                        optval = optval.split(" ")
                      opt = [opt] + optval
                  else:
                      opt = (opt, optval)
                  yield opt
keep keep keep keep replace 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 
lib/gui/options.py