options = {}
options['pedfile'] = ''
options['messages'] = 'verbose'
options['pedformat'] = 'ASD'
if __name__ == "__main__":
pedstream = 'a1,s1,d1\na2,s2,d2\na3,a1,a2\n'
test = pyp_newclasses.loadPedigree(options,pedsource='textstream',pedstream=pedstream)
The expected use case is that the pedigree would be retrieved from a database, and the result set from the SQL query converted into a string. There is an upper bound on the size of pedigree that can be loaded from a stream based on the physical memory available on your platform, and extremely large pedigrees should be loaded from a text file.
See About this document... for information on suggesting changes.