code: def _post_run_hook(self, runtime):
          ''' generates a report showing nine slices, three per axis, of an
          arbitrary volume of `in_files`, with the resulting segmentation
          overlaid '''
          outputs = self.aggregate_outputs(runtime=runtime)
          self._anat_file = os.path.join(outputs.subjects_dir,
                                         outputs.subject_id,
                                         'mri', 'brain.mgz')
          self._contour = os.path.join(outputs.subjects_dir,
                                       outputs.subject_id,
                                       'mri', 'ribbon.mgz')
          self._masked = False
  
          NIWORKFLOWS_LOG.info('Generating report for ReconAll (subject %s)',
                               outputs.subject_id)
  
          return super(ReconAllRPT, self)._post_run_hook(runtimef _post_run_hook(self, runtime):
          ''' generates a report showing nine slices, three per axis, of an
          arbitrary volume of `in_files`, with the resulting segmentation
          overlaid '''
          outputs = self.aggregate_outputs(runtime=runtime)
          self._anat_file = os.path.join(outputs.subjects_dir,
                                         outputs.subject_id,
                                         'mri', 'brain.mgz')
          self._contour = os.path.join(outputs.subjects_dir,
                                       outputs.subject_id,
                                       'mri', 'ribbon.mgz')
          self._masked = False
  
          NIWORKFLOWS_LOG.info('Generating report for ReconAll (subject %s)',
                               outputs.subject_id)
  
          return super(ReconAllRPT, self)._post_run_hook(runtime)
docs: generates a report showing nine slices, three per axis, of an
          arbitrary volume of `in_files`, with the resulting segmentation
          overlaid