  
          if self._is_parallel:
              self._launch_detector()
          elif self.phase == "detect":
              self._launch_detector()
          elif self.phase == "align":
              self._launch_aligner()
          elif self.phase == "mask":
              self._launch_masker()
 
</s> remove         else:
 </s> add         elif self.phase == "align": </s> remove             self._launch_aligner()
 </s> add  </s> remove         else:
 </s> add         elif self.passes == 3 and self.phase == 'align':
            self._launch_aligner()
            self._launch_masker()
  
          if self._is_parallel:
              self._launch_detector()
            self._launch_aligner()
            self._launch_masker()
          elif self.phase == "detect":
              self._launch_detector()
          elif self.phase == "align":
              self._launch_aligner()
          elif self.phase == "mask":
              self._launch_masker()
keep keep add keep keep keep keep keep keep
 Smart Mask Exposure for Extraction & Training (#831)

Smart Masks - Initial Commit 
plugins/extract/pipeline.py