code: def _post_run_hook(self, runtime):
          ''' generates a report showing slices from each axis '''
  
          assert len(self.inputs.mask_files) == 1, \
              "ACompCorRPT only supports a single input mask. " \
              "A list %s was found." % self.inputs.mask_files
          self._anat_file = self.inputs.realigned_file
          self._mask_file = self.inputs.mask_files[0]
          self._seg_files = self.inputs.mask_files
          self._masked = False
  
          NIWORKFLOWS_LOG.info('Generating report for aCompCor. file "%s", mask "%s"',
                               self.inputs.realigned_file, self._mask_file)
  
          return super(ACompCorRPT, self)._post_run_hook(runtimef _post_run_hook(self, runtime):
          ''' generates a report showing slices from each axis '''
  
          assert len(self.inputs.mask_files) == 1, \
              "ACompCorRPT only supports a single input mask. " \
              "A list %s was found." % self.inputs.mask_files
          self._anat_file = self.inputs.realigned_file
          self._mask_file = self.inputs.mask_files[0]
          self._seg_files = self.inputs.mask_files
          self._masked = False
  
          NIWORKFLOWS_LOG.info('Generating report for aCompCor. file "%s", mask "%s"',
                               self.inputs.realigned_file, self._mask_file)
  
          return super(ACompCorRPT, self)._post_run_hook(runtime)
docs: generates a report showing slices from each axis