example = pyp_newclasses.loadPedigree(optionsfile='new_networkx.ini')
ng = pyp_network.ped_to_graph(example)
options = {}
options['pedfile'] = 'dummy'
options['pedformat'] = 'asd'
example2 = pyp_newclasses.loadPedigree(options,pedsource='graph',pedgraph=ng)
example2.metadata.printme()
Metadata for Testing fromgraph() (dummy) Records: 13 Unique Sires: 3 Unique Dams: 4 Unique Gens: 1 Unique Years: 1 Unique Founders: 5 Unique Herds: 1 Pedigree Code: asd
See About this document... for information on suggesting changes.