docs: def final_paragraph(metadata):
      """
      Describes dicom-to-nifti conversion process and methods generation.
  
      Parameters
      ----------
      metadata : :obj:`dict`
          The metadata for the scan.
  
      Returns
      -------
      desc : :obj:`str`
          Output string with scanner information.
      """
      if 'ConversionSoftware' in metadata.keys():
          soft = metadata['ConversionSoftware']
          vers = metadata['ConversionSoftwareVersion']
          software_str = ' using {soft} ({conv_vers})'.format(soft=soft, conv_vers=vers)
      else:
          software_str = ''
      desc = '''
             Dicoms were converted to NIfTI-1 format{software_str}.
             This section was (in part) generated
             automatically using pybids ({meth_vers}).
             '''.format(software_str=software_str,
                        meth_vers=__version__)
      desc = desc.replace('\n', ' ').lstrip()
      while '  ' in desc:
          desc = desc.replace('  ', ' ')
  
      return desc