8.1.3 How do I renumber a pedigree?

Set the renumber option to "1" before you load the pedigree.
options = {}
options['renumber'] = 1
options['pedfile'] = 'new_lacy.ped'
options['pedformat'] = 'asd'
example1 = pyp_newclasses.loadPedigree(options)
If you do not renumber a pedigree at load time and choose to renumber it later you must set the renumber option and call the pedigree's renumber() method:
example.kw['renumber'] = 1
example.renumber()
For more details on pedigree renumbering see Section 3.6.
See About this document... for information on suggesting changes.