[Biopython-dev] rebase

Cayte katel at worldpath.net
Mon Jul 24 12:45:08 EDT 2000


----- Original Message -----
From: Jeffrey Chang <jchang at SMI.Stanford.EDU>
To: Cayte <katel at worldpath.net>
Cc: <Biopython-dev at biopython.org>
Sent: Monday, July 24, 2000 3:21 AM
Subject: Re: [Biopython-dev] rebase


> >   Some of the fields in rebase, like enzyme number and source, stay
> > the same but some vary or appear only in a few files.  Should I use an
> > on-the fly dictionary for the field that only appear in a few files?
>
> What I've been doing is creating classes that can hold every field, and
> initializing fields to a reasonable default value.  It seems friendlier
> than to require the client to check for the existence in a dictionary.
>
  I agree.  What I'm talking about is a just in case dictionary.  Without looking
at every entry, we may miss some fields.  When I find out about them, I can set
defaults.

                                 Cayte




More information about the Biopython-dev mailing list