6.1.2 The LightAnimal Class

The LightAnimal class holds animals records read from a pedigree file. It implements a much simpler object than the NewAnimal object and is intended for use with the graph theoretic routines in pyp_network. The only attributes of these objects are animal ID, sire ID, dam ID, original ID, renumbered ID, birth year, and sex (Table 6.3).
Attributes of LightAnimal objects. Attribute & Default & Description

\begin{xtabular}{l\vert l\vert p{4in}}
animalID & animal ID & Animal's ID. \\
...
...female, \texttt{'u'} = unknown. \\
sireID & 0 & Sire's ID. \\
\end{xtabular}
LightAnimal objects have the same seven methods (Table 6.4) as NewAnimal objects (Table 6.2).
Methods of LightAnimal objects. Method & Description

\begin{xtabular}{l\vert p{4in}}
\_\_init\_\_ & Initializes a \class{LightAnimal...
.../www.brpreiss.com/books/opus7/html/page220.html ...
See About this document... for information on suggesting changes.