[BioPython] PropertyManager
Jeffrey Chang
jchang@SMI.Stanford.EDU
Tue, 18 Apr 2000 19:12:34 -0700 (PDT)
On Sun, 9 Apr 2000, Andrew Dalke wrote:
> BTW, 'alphabet.weight_table' might be written
> 'alphabet.property["weight_table"]'. Otherwise, new data gets
> assigned to new attributes, and I don't like adding attributes
> dynamically. It's legal in Python, but I've a strong feeling against
> it from my old C++ days.
You're disinclined to do this because of your C++ background...
> Another way is to store the properties in an external table, and keyed
> off of the alphabet's class. This corresponds to having only class
> data for an alphabet, which I believe is acceptable.
but not this? ;)
> You know, I do believe this text is longer than the actual code by a
> factor of 4 (12K vs. 3K). I have a tendency to write a lot and fill
> in the details. Is this amount of email/detail too much?
I really like it, because it provides good documentation of the
discussions going on. OTOH, it's hard to find an uninterrupted block of
time to sit down and ponder all the issues you bring up!
Jeff