          >>>         <do processing>
          """
  
          if self._is_parallel:
              self._launch_aligner()
              self._launch_detector()
          elif self.phase == "detect":
              self._launch_detector()
          else:
              self._launch_aligner()
 
</s> remove         else:
 </s> add         elif self.phase == "align": </s> remove         if self._is_parallel or self.phase == "detect":
            qname = "extract_detect_in"
        else:
            qname = "extract_align_in"
 </s> add         qname_dict = dict(detect="extract_detect_in",
                          align="extract_align_in",
                          mask="extract_mask_in")
        qname = "extract_detect_in" if self._is_parallel else qname_dict[self.phase]
          >>>         <do processing>
          """
  
          if self._is_parallel:

              self._launch_detector()
          elif self.phase == "detect":
              self._launch_detector()
          else:
              self._launch_aligner()
keep keep keep keep replace keep keep keep keep keep
 Smart Mask Exposure for Extraction & Training (#831)

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