  
      @staticmethod
      def get_argument_list():
          """ Put the arguments in a list so that they are accessible from both argparse and gui """
          argument_list = list()
          argument_list.append(dict(
              opts=('-i', '--input'),
              action=DirFullPaths,
              dest="input_dir",
              group=_("data"),
 
</s> remove         :param sorted_list: list that has been sorted by one of the sort
        methods.
        :param new_vals_list: list that has been loaded by a different method
        than the sorted_list.
        :return: list that is sorted in the same way as the input sorted list
        but the values corresponding to each image are from new_vals_list.
        """
        new_list = []
        # Make new list of just image paths to serve as an index
        val_index_list = [i[0] for i in new_vals_list]
        for i in tqdm(range(len(sorted_list)), desc="Splicing", file=sys.stdout):
            current_img = sorted_list[i] if isinstance(sorted_list[i], str) else sorted_list[i][0]
            new_val_index = val_index_list.index(current_img)
            new_list.append([current_img, new_vals_list[new_val_index][1]])

        return new_list
 </s> add         if self._args.log_changes:
            self._write_to_log(self._changes) </s> remove             help=_("Output directory for sorted aligned faces.")))
 </s> add             help=_("Output directory for sorted aligned faces. If not provided and 'keep' is "
                   "selected then a new folder called 'sorted' will be created within the input "
                   "folder to house the output. If not provided and 'keep' is not selected then "
                   "the images will be sorted in-place, overwriting the original contents of the "
                   "'input_dir'"))) </s> remove             operation = 'ijk, kl -> ijl' if method.endswith('gray') else 'ijl, kl -> ijk'
            path = np.einsum_path(operation, imgs[0][..., :3], conversion, optimize='optimal')[0]

        progress_bar = tqdm(imgs, desc="Converting", file=sys.stdout)
        images = [np.einsum(operation, img[..., :3], conversion, optimize=path).astype('float32')
                  for img in progress_bar]
        return images

    @staticmethod
    def splice_lists(sorted_list, new_vals_list):
        """
        This method replaces the value at index 1 in each sub-list in the
        sorted_list with the value that is calculated for the same img_path,
        but found in new_vals_list.

        Format of lists: [[img_path, value], [img_path2, value2], ...]
 </s> add             self._output_non_grouped() </s> remove             group=_("output"),
            help=_("Keeps the original files in the input directory. Be careful when using this "
                   "with rename grouping and no specified output directory as this would keep the "
                   "original and renamed files in the same directory.")))
 </s> add             group=_("data"),
            help=_("Whether to keep the original files in their original location. Choosing a "
                   "'sort-by' method means that the files have to be renamed. Selecting 'keep' "
                   "means that the original files will be kept, and the renamed files will be "
                   "created in the specified output folder. Unselecting keep means that the "
                   "original files will be moved and renamed based on the selected sort/group "
                   "criteria.")))
        argument_list = []
  
      @staticmethod
      def get_argument_list():
          """ Put the arguments in a list so that they are accessible from both argparse and gui """
        argument_list = []
          argument_list.append(dict(
              opts=('-i', '--input'),
              action=DirFullPaths,
              dest="input_dir",
              group=_("data"),
keep keep keep keep replace keep keep keep keep keep
 Overhaul sort:
  - Standardize image data reading and writing
  - Optimize loading (just one pass required)
  - Make all sort groups binnable (to greater or lesser results)
  - Add sort by pitch
  - Deprecate multiple options
  - linting, docs + locales 
tools/sort/cli.py