

def record_metadata(self, group):
    'Dump the metadata of the given group in a "pretty" form.\n\n        Args\n        ----\n        group : `System`\n            `System` containing vectors\n        '
    params = list(iteritems(group.params))
    unknowns = list(iteritems(group.unknowns))
    self.out.write('Metadata:\n')
    self.out.write('Params:\n')
    for (name, metadata) in params:
        fmat = '  {0}: {1}\n'
        self.out.write(fmat.format(name, metadata))
    self.out.write('Unknowns:\n')
    for (name, metadata) in unknowns:
        fmat = '  {0}: {1}\n'
        self.out.write(fmat.format(name, metadata))

dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/recorders/dump_recorder.py DumpRecorder.record_metadata/original