8.1.1 How do I load a pedigree from a file?

Each pedigree that you read must be passed its own dictionary of options that must have at least a pedigree file name (pedfile) and a pedigree format string (pedformat). You then call pyp_newclasses.NewPedigree() and pass the options dictionary as an argument. The following code fragment demonstrates how to read a pedigree file:
options = {}
options['pedfile'] = 'new_lacy.ped'
options['pedformat'] = 'asd'

example1 = pyp_newclasses.loadPedigree(options)
The options dictionary may be named anything you like. In this manual, and in the example programs distributed with PyPedal, options is the name used.
See About this document... for information on suggesting changes.