From f6dd2063a72c026f4ed99dbac0e028772154dbd2 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Thu, 28 May 2026 00:17:42 +0000 Subject: [PATCH] Change "estrus" to "swelling" in ESTRUS_STATES names --- db/schemas/sokwedb/indexes/Makefile | 2 +- .../{estrus_states.m4 => swelling_states.m4} | 4 +- .../{estrus_states.m4 => swelling_states.m4} | 4 +- db/schemas/sokwedb/tables/Makefile | 4 +- .../{estrus_states.m4 => swelling_states.m4} | 14 +- doc/src/analyzed.m4 | 2 +- doc/src/analyzed/estrus_states.m4 | 200 ----------------- doc/src/analyzed/swelling_states.m4 | 201 ++++++++++++++++++ doc/src/code_tables.m4 | 4 +- doc/src/epilog.inc.m4 | 30 +-- doc/src/tables/arrivals.m4 | 4 +- doc/src/tables/swelling_sources.m4 | 8 +- 12 files changed, 239 insertions(+), 238 deletions(-) rename db/schemas/sokwedb/indexes/create/{estrus_states.m4 => swelling_states.m4} (87%) rename db/schemas/sokwedb/indexes/drop/{estrus_states.m4 => swelling_states.m4} (91%) rename db/schemas/sokwedb/tables/create/{estrus_states.m4 => swelling_states.m4} (82%) delete mode 100644 doc/src/analyzed/estrus_states.m4 create mode 100644 doc/src/analyzed/swelling_states.m4 diff --git a/db/schemas/sokwedb/indexes/Makefile b/db/schemas/sokwedb/indexes/Makefile index e74b3d3..626b568 100644 --- a/db/schemas/sokwedb/indexes/Makefile +++ b/db/schemas/sokwedb/indexes/Makefile @@ -21,7 +21,7 @@ # This is not really important but is needed for other types of db objects. ORDER := biography_data biography_log comm_membs comm_memb_log \ follows follow_observers follow_studies events roles arrivals \ - swelling_sources estrus_states aggression_event_log sightings \ + swelling_sources swelling_states aggression_event_log sightings \ aggressions food_events groomings groom_scans attendance ## diff --git a/db/schemas/sokwedb/indexes/create/estrus_states.m4 b/db/schemas/sokwedb/indexes/create/swelling_states.m4 similarity index 87% rename from db/schemas/sokwedb/indexes/create/estrus_states.m4 rename to db/schemas/sokwedb/indexes/create/swelling_states.m4 index ee643df..66c366d 100644 --- a/db/schemas/sokwedb/indexes/create/estrus_states.m4 +++ b/db/schemas/sokwedb/indexes/create/swelling_states.m4 @@ -21,9 +21,9 @@ include(`copyright.m4')dnl include(`constants.m4')dnl include(`indexmacros.m4')dnl -CREATE INDEX IF NOT EXISTS estrus_states_date ON estrus_states +CREATE INDEX IF NOT EXISTS swelling_states_date ON swelling_states (date); -CREATE INDEX IF NOT EXISTS estrus_states_animid ON estrus_states +CREATE INDEX IF NOT EXISTS swelling_states_animid ON swelling_states (animid); diff --git a/db/schemas/sokwedb/indexes/drop/estrus_states.m4 b/db/schemas/sokwedb/indexes/drop/swelling_states.m4 similarity index 91% rename from db/schemas/sokwedb/indexes/drop/estrus_states.m4 rename to db/schemas/sokwedb/indexes/drop/swelling_states.m4 index 9704825..42fac38 100644 --- a/db/schemas/sokwedb/indexes/drop/estrus_states.m4 +++ b/db/schemas/sokwedb/indexes/drop/swelling_states.m4 @@ -21,7 +21,7 @@ include(`copyright.m4')dnl include(`constants.m4')dnl include(`indexmacros.m4')dnl -DROP INDEX IF EXISTS estrus_states_date; -DROP INDEX IF EXISTS estrus_states_animid; +DROP INDEX IF EXISTS swelling_states_date; +DROP INDEX IF EXISTS swelling_states_animid; diff --git a/db/schemas/sokwedb/tables/Makefile b/db/schemas/sokwedb/tables/Makefile index cacf456..9dc7e52 100644 --- a/db/schemas/sokwedb/tables/Makefile +++ b/db/schemas/sokwedb/tables/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 2023, 2024 The Meme Factory, Inc. http://www.karlpinc.com/ +# Copyright (C) 2023-2026 The Meme Factory, Inc. http://www.karlpinc.com/ # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by @@ -23,7 +23,7 @@ ORDER := biography_data \ biography_log \ swelling_sources \ - estrus_states \ + swelling_states \ comm_membs \ comm_memb_log \ sightings \ diff --git a/db/schemas/sokwedb/tables/create/estrus_states.m4 b/db/schemas/sokwedb/tables/create/swelling_states.m4 similarity index 82% rename from db/schemas/sokwedb/tables/create/estrus_states.m4 rename to db/schemas/sokwedb/tables/create/swelling_states.m4 index 6802310..b2d25fc 100644 --- a/db/schemas/sokwedb/tables/create/estrus_states.m4 +++ b/db/schemas/sokwedb/tables/create/swelling_states.m4 @@ -23,18 +23,18 @@ include(`tablemacros.m4')dnl include(`grants.m4')dnl dnl -CREATE TABLE estrus_states ( - key_column(`ESTRUS_STATES', `ID', `INTEGER') +CREATE TABLE swelling_states ( + key_column(`SWELLING_STATES', `ID', `INTEGER') ,date DATE NOT NULL ,animid_type_column(`animid', `AnimID', `NOT NULL') - ,estrusmin TEXT NOT NULL + ,swellingmin TEXT NOT NULL REFERENCES cycle_states - ,estrusminsource TEXT NOT NULL + ,swellingminsource TEXT NOT NULL REFERENCES sighting_records - ,estrusmax TEXT NOT NULL + ,swellingmax TEXT NOT NULL REFERENCES cycle_states - ,estrusmaxsource TEXT NOT NULL + ,swellingmaxsource TEXT NOT NULL REFERENCES sighting_records ); -grant_priv(`ESTRUS_STATES') +grant_priv(`SWELLING_STATES') diff --git a/doc/src/analyzed.m4 b/doc/src/analyzed.m4 index e455784..6ca9baf 100644 --- a/doc/src/analyzed.m4 +++ b/doc/src/analyzed.m4 @@ -31,5 +31,5 @@ a rudimentary analytical process. .. toctree:: :maxdepth: 3 - analyzed/estrus_states.rst + analyzed/swelling_states.rst analyzed/sightings.rst diff --git a/doc/src/analyzed/estrus_states.m4 b/doc/src/analyzed/estrus_states.m4 deleted file mode 100644 index 54523c3..0000000 --- a/doc/src/analyzed/estrus_states.m4 +++ /dev/null @@ -1,200 +0,0 @@ -.. Copyright (C) 2026 The Meme Factory, Inc. www.karlpinc.com - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . - -.. M4 setup -include(constants.m4)dnl -include(macros.m4)dnl -sdb_rst_quotes(`on')dnl -sdb_generated_rst()dnl - -.. _ESTRUS_STATES: - -ESTRUS_STATES -------------- - -.. |ESTRUS_STATES_summary| replace:: - - ESTRUS_STATES contains one row for each female chimpanzee - for every day the individual's estrus state was observed. - It records daily minimum and maximum sexual swelling information. - -|ESTRUS_STATES_summary| -This table provides an automatically maintained summary of the estrus -state information found throughout SokweDB. - -The ESTRUS_STATES table is automatically constructed by the system and -cannot be manually maintained. -The table's rows are computed from the SokweDB tables' content. - -The |SWELLING_SOURCES| table is used to both force specific estrus state -values and to add additional records of estrus state, records from -"external" data sources, into ESTRUS_STATES' minimum and maxium estrus -calculations. -There is no way to remove rows from ESTRUS_STATES when SokweDB tables, -other than the |SWELLING_SOURCES| table, contain estrus state -information on an individual on a particular day. -But if the only reason a row appears in ESTRUS_STATES is due to rows in -|SWELLING_SOURCES|, the row can be removed from ESTRUS_STATES by -removing the |SWELLING_SOURCES| rows. - -Rows may exist in |SWELLING_SOURCES| to record additional estrus state -information on an individual on a given day regardless of whether -other tables in SokweDB also contain estrus information. -Should the SokweDB db's content change in a way that removes the -individual's daily estrus information, the relevant rows in -|SWELLING_SOURCES| become the sole source of the individual's daily -estrus information. - -.. _estrus_state_determination: - -The ESTRUS_STATES.\ |ESTRUS_STATES.EstrusMin| value is the minimum of -all the minimum estrus swelling states recorded in SokweDB for the -individual for a given day. -Notably, this includes minimum estrus values present in -|SWELLING_SOURCES|, which provides a way to include arbitrary estrus -state information. - -The ESTRUS_STATES.\ |ESTRUS_STATES.EstrusMax| value is the maximum of -all the maximum estrus swelling states recorded in SokweDB for the -individual for a given day, computed in a fashion analogous to the -|ESTRUS_STATES.EstrusMin| computation. - -Minimums and maximums are computed by comparing |CYCLE_STATES|.\ -|CYCLE_STATES.AsNum| values. -|CYCLE_STATES|.\ |CYCLE_STATES.Code| values associated with |null| -|CYCLE_STATES.AsNum| values are not used in minimum or maximum -calculations. -This means that only those |CYCLE_STATES|.\ |CYCLE_STATES.Code| values -associated with non-|null| |CYCLE_STATES.AsNum| values appear as -|ESTRUS_STATES.EstrusMin| or |ESTRUS_STATES.EstrusMax| values. - -There is a mechanism for ignoring the above minimum and maximum -calculations and manually specifying a daily estrus state value. -To do this, create a row in |SWELLING_SOURCES| with the special -|SWELLING_SOURCES.Source| value of ``sdb_manual_swelling``. -The |SWELLING_SOURCES.SwellingMin| and SWELLING_SOURCES.SwellingMax| values in -the row you create then become the values used in the ESTRUS_STATES.\ -|ESTRUS_STATES.EstrusMin| and |ESTRUS_STATES.EstrusMax| columns for -the given individual for the given day. - -To allow the manual adjustment of |ESTRUS_STATES.EstrusMin| values -without also being forced to supply manual value for -|ESTRUS_STATES.EstrusMax|, |null| |SWELLING_SOURCES|.\ -|SWELLING_SOURCES.SwellingMin| and |SWELLING_SOURCES|.\ -|SWELLING_SOURCES.SwellingMax| values are ignored. - - -.. contents:: - :depth: 2 - - -.. _ESTRUS_STATES.ID: - -ID (Estrus_States IDentifier) -````````````````````````````` - -.. |ESTRUS_STATES.ID_summary| replace:: - |idcol| - -|ESTRUS_STATES.ID_summary| |notnull| - - -.. _ESTRUS_STATES.Date: - -Date -```` - -.. |ESTRUS_STATES.Date_summary| replace:: - The date of the individual's estrus state. - -|ESTRUS_STATES.Date_summary| |notnull| - - -.. _ESTRUS_STATES.AnimID: - -AnimID (Animal IDentifier) -`````````````````````````` - -.. |ESTRUS_STATES.AnimID_summary| replace:: - The |BIOGRAPHY_DATA|.\ |BIOGRAPHY_DATA.AnimID| of the individual - who's estrus state was observed. - -|ESTRUS_STATES.AnimID_summary| |notnull| - - -.. _ESTRUS_STATES.EstrusMin: - -EstrusMin (Estrus Minimum swelling) -``````````````````````````````````` - -.. |ESTRUS_STATES.EstrusMin_summary| replace:: - The minimum estrus swelling observed on the day. - A |CYCLE_STATES|.\ |CYCLE_STATES.Code| value. - -|ESTRUS_STATES.EstrusMin_summary| -See :ref:`above ` for more information -on how the value of this column is determined. - -|notnull| - - -.. _ESTRUS_STATES.EstrusMinSource: - -EstrusMinSource -``````````````` - -.. |ESTRUS_STATES.EstrusMinSource_summary| replace:: - A code indicating the record-taking that is the source of the - minimum estrus swelling information. - A |SIGHTING_RECORDS|.\ |SIGHTING_RECORDS.Code| value. - -|ESTRUS_STATES.EstrusMinSource_summary| -See :ref:`above ` for more information -on how the value of this column is determined. - -|notnull| - - -.. _ESTRUS_STATES.EstrusMax: - -EstrusMax (Estrus Maximum swelling) -``````````````````````````````````` - -.. |ESTRUS_STATES.EstrusMax_summary| replace:: - The maximum estrus swelling observed on the day. - A |CYCLE_STATES|.\ |CYCLE_STATES.Code| value. - -|ESTRUS_STATES.EstrusMax_summary| -See :ref:`above ` for more information -on how the value of this column is determined. - -|notnull| - - -.. _ESTRUS_STATES.EstrusMaxSource: - -EstrusMaxSource -``````````````` - -.. |ESTRUS_STATES.EstrusMaxSource_summary| replace:: - A code indicating the record-taking that is the source of the - maximum estrus swelling information. - A |SIGHTING_RECORDS|.\ |SIGHTING_RECORDS.Code| value. - -|ESTRUS_STATES.EstrusMaxSource_summary| -See :ref:`above ` for more information -on how the value of this column is determined. - -|notnull| diff --git a/doc/src/analyzed/swelling_states.m4 b/doc/src/analyzed/swelling_states.m4 new file mode 100644 index 0000000..bcc64ce --- /dev/null +++ b/doc/src/analyzed/swelling_states.m4 @@ -0,0 +1,201 @@ +.. Copyright (C) 2026 The Meme Factory, Inc. www.karlpinc.com + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +.. M4 setup +include(constants.m4)dnl +include(macros.m4)dnl +sdb_rst_quotes(`on')dnl +sdb_generated_rst()dnl + +.. _SWELLING_STATES: + +SWELLING_STATES +--------------- + +.. |SWELLING_STATES_summary| replace:: + + SWELLING_STATES contains one row for each female chimpanzee + for every day the individual's sexual swelling was observed. + It records daily minimum and maximum sexual swelling information. + +|SWELLING_STATES_summary| +This table provides an automatically maintained summary of the sexual +swelling information found throughout SokweDB. + +The SWELLING_STATES table is automatically constructed by the system and +cannot be manually maintained. +The table's rows are computed from the SokweDB tables' content. + +The |SWELLING_SOURCES| table is used to both force specific sexual +swelling values and to add additional records of sexual swelling +measurements , records from "external" data sources, into +SWELLING_STATES' minimum and maxium sexual swelling calculations. +There is no way to remove rows from SWELLING_STATES when SokweDB tables, +other than the |SWELLING_SOURCES| table, contain sexual swelling +information on an individual on a particular day. +But if the only reason a row appears in SWELLING_STATES is due to rows in +|SWELLING_SOURCES|, the row can be removed from SWELLING_STATES by +removing the |SWELLING_SOURCES| rows. + +Rows may exist in |SWELLING_SOURCES| to record additional sexual +swelling information on an individual on a given day regardless of +whether other tables in SokweDB also contain sexual swelling +information. +Should the SokweDB db's content change in a way that removes the +individual's daily sexual swelling information, the relevant rows in +|SWELLING_SOURCES| become the sole source of the individual's daily +sexual swelling information. + +.. _swelling_determination: + +The SWELLING_STATES.\ |SWELLING_STATES.SwellingMin| value is the +minimum of all the minimum sexual swelling measures recorded in +SokweDB for the individual for a given day. +Notably, this includes minimum sexual swelling values present in +|SWELLING_SOURCES|, which provides a way to include arbitrary sexual +swelling information. + +The SWELLING_STATES.\ |SWELLING_STATES.SwellingMax| value is the +maximum of all the maximum sexual swelling measures recorded in SokweDB +for the individual for a given day, computed in a fashion analogous to +the |SWELLING_STATES.SwellingMin| computation. + +Minimums and maximums are computed by comparing |CYCLE_STATES|.\ +|CYCLE_STATES.AsNum| values. +|CYCLE_STATES|.\ |CYCLE_STATES.Code| values associated with |null| +|CYCLE_STATES.AsNum| values are not used in minimum or maximum +calculations. +This means that only those |CYCLE_STATES|.\ |CYCLE_STATES.Code| values +associated with non-|null| |CYCLE_STATES.AsNum| values appear as +|SWELLING_STATES.SwellingMin| or |SWELLING_STATES.SwellingMax| values. + +There is a mechanism for ignoring the above minimum and maximum +calculations and manually specifying a daily sexual swelling value. +To do this, create a row in |SWELLING_SOURCES| with the special +|SWELLING_SOURCES.Source| value of ``sdb_manual_swelling``. +The |SWELLING_SOURCES.SwellingMin| and SWELLING_SOURCES.SwellingMax| values in +the row you create then become the values used in the SWELLING_STATES.\ +|SWELLING_STATES.SwellingMin| and |SWELLING_STATES.SwellingMax| columns for +the given individual for the given day. + +To allow the manual adjustment of |SWELLING_STATES.SwellingMin| values +without also being forced to supply manual value for +|SWELLING_STATES.SwellingMax|, |null| |SWELLING_SOURCES|.\ +|SWELLING_SOURCES.SwellingMin| and |SWELLING_SOURCES|.\ +|SWELLING_SOURCES.SwellingMax| values are ignored. + + +.. contents:: + :depth: 2 + + +.. _SWELLING_STATES.ID: + +ID (swelling_states IDentifier) +``````````````````````````````` + +.. |SWELLING_STATES.ID_summary| replace:: + |idcol| + +|SWELLING_STATES.ID_summary| |notnull| + + +.. _SWELLING_STATES.Date: + +Date +```` + +.. |SWELLING_STATES.Date_summary| replace:: + The date of the individual's sexual swelling measurements. + +|SWELLING_STATES.Date_summary| |notnull| + + +.. _SWELLING_STATES.AnimID: + +AnimID (Animal IDentifier) +`````````````````````````` + +.. |SWELLING_STATES.AnimID_summary| replace:: + The |BIOGRAPHY_DATA|.\ |BIOGRAPHY_DATA.AnimID| of the individual + who's sexual swelling was observed. + +|SWELLING_STATES.AnimID_summary| |notnull| + + +.. _SWELLING_STATES.SwellingMin: + +SwellingMin (MINimum SWELLING) +`````````````````````````````` + +.. |SWELLING_STATES.SwellingMin_summary| replace:: + The minimum sexual swelling measure observed on the day. + A |CYCLE_STATES|.\ |CYCLE_STATES.Code| value. + +|SWELLING_STATES.SwellingMin_summary| +See :ref:`above ` for more information +on how the value of this column is determined. + +|notnull| + + +.. _SWELLING_STATES.SwellingMinSource: + +SwellingMinSource +````````````````` + +.. |SWELLING_STATES.SwellingMinSource_summary| replace:: + A code indicating the record-taking that is the source of the + minimum sexual swelling information. + A |SIGHTING_RECORDS|.\ |SIGHTING_RECORDS.Code| value. + +|SWELLING_STATES.SwellingMinSource_summary| +See :ref:`above ` for more information +on how the value of this column is determined. + +|notnull| + + +.. _SWELLING_STATES.SwellingMax: + +SwellingMax (MAXimum SWELLING) +`````````````````````````````` + +.. |SWELLING_STATES.SwellingMax_summary| replace:: + The maximum sexual swelling measure observed on the day. + A |CYCLE_STATES|.\ |CYCLE_STATES.Code| value. + +|SWELLING_STATES.SwellingMax_summary| +See :ref:`above ` for more information +on how the value of this column is determined. + +|notnull| + + +.. _SWELLING_STATES.SwellingMaxSource: + +SwellingMaxSource +````````````````` + +.. |SWELLING_STATES.SwellingMaxSource_summary| replace:: + A code indicating the record-taking that is the source of the + maximum sexual swelling information. + A |SIGHTING_RECORDS|.\ |SIGHTING_RECORDS.Code| value. + +|SWELLING_STATES.SwellingMaxSource_summary| +See :ref:`above ` for more information +on how the value of this column is determined. + +|notnull| diff --git a/doc/src/code_tables.m4 b/doc/src/code_tables.m4 index a62b6f6..5862e0d 100644 --- a/doc/src/code_tables.m4 +++ b/doc/src/code_tables.m4 @@ -899,11 +899,11 @@ recorded in |SIGHTINGS|.\ |SIGHTINGS.Source|, when there are multiple sources recorded for a given individual on a given day in |NON_BREC_SIGHTING_SOURCES|. -|ESTRUS_STATES| uses a different method than |SIGHTINGS| does of +|SWELLING_STATES| uses a different method than |SIGHTINGS| does of determining what to record when there are multiple sources of information. This means that the Priority value is *not* used to determine which -values in |SWELLING_SOURCES| appear in |ESTRUS_STATES|. +values in |SWELLING_SOURCES| appear in |SWELLING_STATES|. |nonnegative| |notnull| diff --git a/doc/src/epilog.inc.m4 b/doc/src/epilog.inc.m4 index 19de677..7190ad9 100644 --- a/doc/src/epilog.inc.m4 +++ b/doc/src/epilog.inc.m4 @@ -332,21 +332,21 @@ sdb_generated_rst()dnl .. |SWELLING_SOURCES.Notes| replace:: :ref:`Notes ` -.. |ESTRUS_STATES| replace:: :ref:`ESTRUS_STATES ` -.. |ESTRUS_STATES.ID| replace:: - :ref:`ID ` -.. |ESTRUS_STATES.Date| replace:: - :ref:`Date ` -.. |ESTRUS_STATES.AnimID| replace:: - :ref:`AnimID ` -.. |ESTRUS_STATES.EstrusMin| replace:: - :ref:`EstrusMin ` -.. |ESTRUS_STATES.EstrusMinSource| replace:: - :ref:`EstrusMinSource ` -.. |ESTRUS_STATES.EstrusMax| replace:: - :ref:`EstrusMax ` -.. |ESTRUS_STATES.EstrusMaxSource| replace:: - :ref:`EstrusMaxSource ` +.. |SWELLING_STATES| replace:: :ref:`SWELLING_STATES ` +.. |SWELLING_STATES.ID| replace:: + :ref:`ID ` +.. |SWELLING_STATES.Date| replace:: + :ref:`Date ` +.. |SWELLING_STATES.AnimID| replace:: + :ref:`AnimID ` +.. |SWELLING_STATES.SwellingMin| replace:: + :ref:`SwellingMin ` +.. |SWELLING_STATES.SwellingMinSource| replace:: + :ref:`SwellingMinSource ` +.. |SWELLING_STATES.SwellingMax| replace:: + :ref:`SwellingMax ` +.. |SWELLING_STATES.SwellingMaxSource| replace:: + :ref:`SwellingMaxSource ` .. |EVENTS| replace:: :ref:`EVENTS ` .. |EVENTS.EID| replace:: diff --git a/doc/src/tables/arrivals.m4 b/doc/src/tables/arrivals.m4 index beceb15..cc475b9 100644 --- a/doc/src/tables/arrivals.m4 +++ b/doc/src/tables/arrivals.m4 @@ -147,8 +147,8 @@ Cycle (Cycle state) ``````````````````` .. |ARRIVALS.Cycle_summary| replace:: - A |CYCLE_STATES|.\ |CYCLE_STATES.Code| value indicating the state - of the arriving individual's estrus cycle. + A |CYCLE_STATES|.\ |CYCLE_STATES.Code| value indicating the + amount of the arriving individual's sexual swelling. |ARRIVALS.Cycle_summary| diff --git a/doc/src/tables/swelling_sources.m4 b/doc/src/tables/swelling_sources.m4 index 20877c1..b07ed24 100644 --- a/doc/src/tables/swelling_sources.m4 +++ b/doc/src/tables/swelling_sources.m4 @@ -34,17 +34,17 @@ SWELLING_SOURCES Access based, database. Going forward, this table is used to make non-BRec related, changes to the per-day record of female chimpanzee sexual swelling - information found in the |ESTRUS_STATES| table. + information found in the |SWELLING_STATES| table. |SWELLING_SOURCES_summary| This table provides a way to incorporate sexual swelling state information from records kept outside of SokweDB into the per-individual, per-day sexual swelling state information found in the -|ESTRUS_STATES| table. -See :ref:`the ESTRUS_STATE documentation ` +|SWELLING_STATES| table. +See :ref:`the SWELLING_STATES documentation ` or further information on how sexual swelling information is -summarized in the |ESTRUS_STATES| table. +summarized in the |SWELLING_STATES| table. There must either be a non-|null| |SWELLING_SOURCES.SwellingMin| value or a non-|null| |SWELLING_SOURCES.SwellingMax| value; in a single row, -- 2.34.1