[Babase] Babase Warnings

Karl O. Pinc kop at meme.com
Wed Jan 28 21:02:41 EST 2009


On 01/28/2009 09:58:15 AM, Lacey Maryott wrote:
> Karl,
> 
>     What is the status of the babase upload warnings?  Susan would  
> like to explore turning back on some or all warnings, now that a lot  
> of bugs are worked out and we are using the upload program more.
>    The specific reason this came up is that we don't know if, when we  
> upload an adlib (say a grooming), both individuals involved are in  
> the same group in members on the day of the interaction.  I seem to  
> recall that there is a warning for this, but that it isn't turned on.  
> Is that right?

The warnings are just queries.  We don't run them, e.g., every
night because there is no way to tell babase to ignore
warnings that are not problematic.

The warning code is here:
https://papio.biology.duke.edu/src/babase/db/check_integrity.m4

There is a little bit of non-sql in the warning code.  Constants
like 'M' are instead written 'bb_male'.  You can see the
list of constants here and if you want to manually run
a particular query.
https://papio.biology.duke.edu/src/babase/db/include/constants.m4

Until I write some code to ignore "ok warnings" you can manually
run the warning queries of interest.

Karl <kop at meme.com>
Free Software:  "You don't pay back, you pay forward."
                  -- Robert A. Heinlein



More information about the Babase mailing list