code: def _post_run_hook(self, runtime):
          ''' generates a report showing slices from each axis '''
  
          high_variance_masks = self.aggregate_outputs(runtime=runtime).high_variance_masks
  
          assert not isinstance(high_variance_masks, list),\
              "TCompCorRPT only supports a single output high variance mask. " \
              "A list %s was found." % str(high_variance_masks)
          self._anat_file = self.inputs.realigned_file
          self._mask_file = high_variance_masks
          self._seg_files = [high_variance_masks]
          self._masked = False
  
          NIWORKFLOWS_LOG.info('Generating report for tCompCor. file "%s", mask "%s"',
                               self.inputs.realigned_file,
                               self.aggregate_outputs(runtime=runtime).high_variance_masks)
  
          return super(TCompCorRPT, self)._post_run_hook(runtimef _post_run_hook(self, runtime):
          ''' generates a report showing slices from each axis '''
  
          high_variance_masks = self.aggregate_outputs(runtime=runtime).high_variance_masks
  
          assert not isinstance(high_variance_masks, list),\
              "TCompCorRPT only supports a single output high variance mask. " \
              "A list %s was found." % str(high_variance_masks)
          self._anat_file = self.inputs.realigned_file
          self._mask_file = high_variance_masks
          self._seg_files = [high_variance_masks]
          self._masked = False
  
          NIWORKFLOWS_LOG.info('Generating report for tCompCor. file "%s", mask "%s"',
                               self.inputs.realigned_file,
                               self.aggregate_outputs(runtime=runtime).high_variance_masks)
  
          return super(TCompCorRPT, self)._post_run_hook(runtime)
docs: generates a report showing slices from each axis