def _display_metadata(self, filename, metadata, options):
    'Print metadata to stdout.\n\n        Args:\n            filename (str)\n                Name of simulation .cfg file.\n            metadata (pylith.utils.SimulationMetadata)\n                Simulation metadata.\n            options (list of str)\n                List of metadata to display.\n        '
    INDENT = (' ' * 4)
    show_all = ('all' in options)
    options = string_to_list(options)
    line0 = f'{filename}'
    if (('version' in options) or show_all):
        if metadata.version:
            line0 += f' v{metadata.version}'
        else:
            line0 += " missing 'version'"
    if (('pylith_version' in options) or show_all):
        if metadata.pylith_version:
            line0 += ('; requires PyLith ' + ' and '.join(metadata.pylith_version))
        else:
            line0 += "; missing 'pylith_version'"
    lines = []
    if (('description' in options) or show_all):
        if metadata.description:
            lines += [metadata.description]
        else:
            lines += ["missing 'description'"]
    if (('authors' in options) or show_all):
        if metadata.authors:
            lines += [('Authors: ' + ', '.join(metadata.authors))]
        else:
            lines += ["missing 'authors'"]
    if (('keywords' in options) or show_all):
        if metadata.keywords:
            lines += [('Keywords: ' + ', '.join(metadata.keywords))]
        else:
            lines += ["missing 'keywords'"]
    if (('features' in options) or show_all):
        if metadata.features:
            features = textwrap.fill(', '.join(metadata.features), width=120)
            lines += (['Features:'] + textwrap.indent(features, INDENT).split('\n'))
        else:
            lines += ["missing 'features'"]
    if (('arguments' in options) or show_all):
        if metadata.arguments:
            lines += [('pylith ' + ' '.join(metadata.arguments))]
        else:
            lines += ["missing 'arguments'"]
    print(line0)
    if len(lines):
        print(textwrap.indent('\n'.join(lines), INDENT))
Print metadata to stdout.

Args:
    filename (str)
        Name of simulation .cfg file.
    metadata (pylith.utils.SimulationMetadata)
        Simulation metadata.
    options (list of str)
        List of metadata to display.
def _display_metadata(self, filename, metadata, options):
    'Print metadata to stdout.\n\n        Args:\n            filename (str)\n                Name of simulation .cfg file.\n            metadata (pylith.utils.SimulationMetadata)\n                Simulation metadata.\n            options (list of str)\n                List of metadata to display.\n        '
    INDENT = (' ' * 4)
    show_all = ('all' in options)
    options = string_to_list(options)
    line0 = f'{filename}'
    if (('version' in options) or show_all):
        if metadata.version:
            line0 += f' v{metadata.version}'
        else:
            line0 += " missing 'version'"
    if (('pylith_version' in options) or show_all):
        if metadata.pylith_version:
            line0 += ('; requires PyLith ' + ' and '.join(metadata.pylith_version))
        else:
            line0 += "; missing 'pylith_version'"
    lines = []
    if (('description' in options) or show_all):
        if metadata.description:
            lines += [metadata.description]
        else:
            lines += ["missing 'description'"]
    if (('authors' in options) or show_all):
        if metadata.authors:
            lines += [('Authors: ' + ', '.join(metadata.authors))]
        else:
            lines += ["missing 'authors'"]
    if (('keywords' in options) or show_all):
        if metadata.keywords:
            lines += [('Keywords: ' + ', '.join(metadata.keywords))]
        else:
            lines += ["missing 'keywords'"]
    if (('features' in options) or show_all):
        if metadata.features:
            features = textwrap.fill(', '.join(metadata.features), width=120)
            lines += (['Features:'] + textwrap.indent(features, INDENT).split('\n'))
        else:
            lines += ["missing 'features'"]
    if (('arguments' in options) or show_all):
        if metadata.arguments:
            lines += [('pylith ' + ' '.join(metadata.arguments))]
        else:
            lines += ["missing 'arguments'"]
    print(line0)
    if len(lines):
        print(textwrap.indent('\n'.join(lines), INDENT))