              iterator = list(item[3] for item in iterator())
  
          for item in tqdm(iterator() if self.type == "faces" else iterator,
                           desc="Processing alignments file",
                           total=self.alignments.count):
              task = getattr(self, "remove_{}".format(self.type))
              del_count += task(item)
  
          if del_count == 0:
              print("No changes made to alignments file. Exiting")
 
</s> remove         iterator = self.alignments.get_alignments_one_image
 </s> add         iterator = self.alignments.yield_faces </s> remove                               total=self.alignments.count):
 </s> add                               total=self.alignments.frames_count): </s> remove         processor = self.alignments.get_one_alignment_index_reverse
 </s> add         processor = self.alignments.yield_original_index_reverse </s> remove         if os.path.split(self.file.lower())[1] == "dfl":
            self.file = "dfl"
        if self.file.lower() == "dfl":
 </s> add         folder, filename = os.path.split(alignments_file)
        if filename.lower() == "dfl":
            folder = None
            filename = "dfl" </s> remove         for frame in tqdm(self.alignments.alignments.keys(),
                          total=len(self.alignments.count)):
 </s> add         for frame in tqdm(self.alignments.data.keys(),
                          total=len(self.alignments.frames_count)):
                         total=self.alignments.frames_count):
              iterator = list(item[3] for item in iterator())
  
          for item in tqdm(iterator() if self.type == "faces" else iterator,
                           desc="Processing alignments file",
                         total=self.alignments.frames_count):
              task = getattr(self, "remove_{}".format(self.type))
              del_count += task(item)
  
          if del_count == 0:
              print("No changes made to alignments file. Exiting")
keep keep keep keep replace keep keep keep keep keep
 Fix convert-adjust (#531)

* Add dimensions to alignments + refactor

* Add frame_dims + funcs to DetectFaces. Add alignments lib

* Convert Adjust working

* Refactor and tidy up 
tools/lib_alignments/jobs.py