8.1.5 How do I load a pedigree whose columns are comma-delimited?

The default column-delimiter used by PyPedal is a space (` '). Comma-separated value (CSV) files can be read by setting sepchar to ','. If you are using a configuration file, you must enclose the comma in double quotation marks (``''):
options['sepchar'] = ","
If you do not enclose the delimiter properly you will receive an error message such as:
Traceback (most recent call last):
  File "ncsu.py", line 6, in <module>
    ncsu = pyp_newclasses.loadPedigree(optionsfile='ncsu.ini', debugLoad=True)
  File "/home/jcole/sage-4.8/local/lib/python2.6/site-packages/PyPedal-2.0.3-py2.6.egg/PyPedal/pyp_newclasses.py", line 2875, in loadPedigree
    _pedigree.load(pedsource=pedsource,pedgraph=pedgraph,pedstream=pedstream)
  File "/home/jcole/sage-4.8/local/lib/python2.6/site-packages/PyPedal-2.0.3-py2.6.egg/PyPedal/pyp_newclasses.py", line 444, in load
    self.preprocess()
  File "/home/jcole/sage-4.8/local/lib/python2.6/site-packages/PyPedal-2.0.3-py2.6.egg/PyPedal/pyp_newclasses.py", line 1076, in preprocess
    l = string.split(string.strip(line),self.kw['sepchar'])
  File "/home/jcole/sage-4.8/local/lib/python2.6/string.py", line 292, in split
    return s.split(sep, maxsplit)
TypeError: expected a character buffer object

See About this document... for information on suggesting changes.