      def __init__(self, arguments: "Namespace") -> None:
          logger.debug("Initializing %s: (arguments: '%s'", self.__class__.__name__, arguments)
          self._args = arguments
          job = self._args.job
          alignment_file = self._find_alignments()
          self.alignments = None if job == "from-faces" else AlignmentData(alignment_file)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def _find_alignments(self) -> str:
          """ If an alignments folder is required and hasn't been provided, scan for a file based on
          the video folder.
 
</s> remove                  arguments: Namespace,
 </s> add                  arguments: Optional[Namespace], </s> remove         self._mask_pipeline = None
 </s> add         self._mask_pipeline: Optional[Extractor] = None </s> remove         self._faces = faces if faces else Faces(arguments.faces_dir, **kwargs)
 </s> add         if faces:
            self._faces = faces
        else:
            assert arguments is not None
            self._faces = Faces(arguments.faces_dir, **kwargs) </s> remove         self._saver = None
 </s> add         self._saver: Optional[ImagesSaver] = None </s> remove         d_align = {}
 </s> add         d_align: Dict[str, Dict[str, List[Tuple[int, AlignmentFileDict, str, dict]]]] = {}
        if job == "from-faces":
            self.alignments = None
        else:
            self.alignments = AlignmentData(self._find_alignments())

      def __init__(self, arguments: "Namespace") -> None:
          logger.debug("Initializing %s: (arguments: '%s'", self.__class__.__name__, arguments)
          self._args = arguments
          job = self._args.job
        if job == "from-faces":
            self.alignments = None
        else:
            self.alignments = AlignmentData(self._find_alignments())

        if job == "from-faces":
            self.alignments = None
        else:
            self.alignments = AlignmentData(self._find_alignments())

          logger.debug("Initialized %s", self.__class__.__name__)
  
      def _find_alignments(self) -> str:
          """ If an alignments folder is required and hasn't been provided, scan for a file based on
          the video folder.
keep keep keep keep replace replace keep keep keep keep keep
 Bugfix: Alignments tool - don't error on from-faces job 
tools/alignments/alignments.py