Project

General

Profile

Statistics
| Revision:

# Date Author Comment
5284 10/05/2012 10:00 PM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.mwb: Fixed lines

5283 10/05/2012 09:59 PM Aaron Marcuse-Kubitza

schemas/tree_cross-links.sql: Synced with schema, updating with new table names

5282 10/05/2012 09:54 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: Removed no longer used taxon table. Use taxonconcept instead.

5281 10/05/2012 09:51 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept.taxonname: comment: Stated that this is the name of the taxon within its parent taxon

5280 10/05/2012 09:48 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: comment: Removed no longer accurate comment that an accepted taxonconcept points to the identified taxon in the tree of life, because it is the identified taxon in the tree of life

5279 10/05/2012 09:39 PM Aaron Marcuse-Kubitza

schemas/filter_ERD.csv: Changed the table with the visible fkey from plant* to taxon* to be plantstatus rather than plantusage, since it contains more core fields

5278 10/05/2012 09:25 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: Removed taxon_id, since taxonconcept now contains all the information needed to represent a taxonomic hierarchy, including both conceptual and nomenclature information

5277 10/05/2012 09:20 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: plantusage: Point just to taxonconcept instead of both to taxonconcept and taxon

5276 10/05/2012 09:16 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: rank, verbatimrank comments: Added info from corresponding fields in taxon that also applies to taxonconcept

5275 10/05/2012 09:14 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: comment: Added info from taxon that also applies to taxonconcept

5274 10/05/2012 09:06 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: Added taxonconcept_ancestor cross-link table

5273 10/05/2012 08:40 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: Added description field

5272 10/05/2012 08:38 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Remapped taxon hierarchy for accepted taxonconcepts to taxonconcept parent_id hierarchy

5271 10/05/2012 08:12 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: Fixed bug where taxonconcept.parent_id was missing a foreign key constraint

5270 10/05/2012 08:10 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: Changed instructions for including a taxon name at a rank with no explicit column to create a parent taxonconcept for it and point to it using parent_id instead of using otherranks. Removed no longer used otherranks field.

5269 10/05/2012 08:05 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: taxonconcept_required_key check constraint: Added taxonname

5268 10/05/2012 07:58 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: taxonconcept_unique_within_creator_by_name unique index: Removed duplicate entry for creator_id

5267 10/05/2012 07:57 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: Added parent_id to point to the parent taxonconcept

5266 10/05/2012 07:56 PM Aaron Marcuse-Kubitza

sql_gen.py: null_sentinels: Added 'unknown' for taxonrank

5265 10/05/2012 07:44 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonrank: Added 'unknown'

5264 10/05/2012 07:30 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Also map *taxonRank to taxonconcept.rank, so that if it's in the taxonrank enum, it will automatically populate this field

5263 10/05/2012 07:14 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Remapped *infraspecificEpithet to new taxonconcept.taxonname rather than placing it in subspecies prefixed with the taxonRank, because it isn't necessarily the subspecies and because taxonname is defined to contain the lowest-rank portion of the taxonomic name. Note that when both morphospecies and infraspecificEpithet are provided, infraspecificEpithet takes priority for the taxonname field, because if TNRS leaves unmatched terms (which are tentatively mapped to morphospecies) but also matches an infraspecificEpithet, then the unmatched terms can't be for a morphospecies (because an infraspecificEpithet and therefore also a specificEpithet was matched, so the species is definite and formally named).

5262 10/05/2012 06:45 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: Renamed morphospecies to taxonname since it's used in the same way as taxon.taxonname: to store the lowest-rank portion of the taxonomic name, such as the morphospecies suffix

5261 10/05/2012 06:21 PM Aaron Marcuse-Kubitza

inputs/.TNRS/tnrs/map.csv: Mapped *_matched terms that are both matched in the input name and which correspond to the matched taxonconcept (Genus_matched, Specific_epithet_matched, etc.) to both the input and matched taxonconcepts

5260 10/05/2012 06:09 PM Aaron Marcuse-Kubitza

inputs/.TNRS/tnrs/map.csv: Mapped terms matched in the original string (rather than deduced from the matched taxonconcept) to new verbatim* taxonomic terms

5259 10/05/2012 06:03 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Mapped verbatim* taxonomic terms to the TNRS input taxonconcept

5258 10/05/2012 05:48 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: TNRS input taxonconcept: Split single _if statement controlling where morphospecies goes into two _if statements for each case, so that other verbatim* terms don't need to have an _if statement in their mapping to the input taxonconcept

5257 10/05/2012 05:29 PM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Added back verbatim* taxonomic terms, which will now be used for the TNRS input taxonconcept. Note that they will have a different meaning than the original* taxonomic terms that they were renamed to in r5062.

5256 10/05/2012 05:22 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: In TNRS mode, remapped morphospecies (Unmatched_terms) to the input name's taxonconcept, because this does not relate to the matched taxon concept

5255 10/05/2012 05:12 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: TNRS-only mappings: Switch them on when verbatimScientificNameWithAuthorship is provided rather than when acceptedScientificNameWithAuthorship is provided, because it's the presence of a separate TNRS input name that really determines when TNRS is being mapped

5254 10/05/2012 05:07 PM Aaron Marcuse-Kubitza

Makefiles: .last_cleanup targets: Also make the file that's being cleaned up .PRECIOUS so it doesn't get deleted if the .last_cleanup target has an error

5253 10/05/2012 05:04 PM Aaron Marcuse-Kubitza

Makefiles: .last_cleanup targets: Make each individual target .PRECIOUS (don't delete on error) because just making %.last_cleanup precious doesn't seem to prevent deletion

5252 10/04/2012 11:19 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Mapped *taxonRank to new taxonconcept.verbatimrank

5251 10/04/2012 11:15 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: Added rank, verbatimrank analogous to those fields in taxon

5250 10/04/2012 09:59 PM Aaron Marcuse-Kubitza

Makefiles: Don't delete %.last_cleanup on error because it's a mod time record rather than a generated file, and so that it's left at the last successful cleanup time when a cleanup operation is cancelled

5249 10/04/2012 09:52 PM Aaron Marcuse-Kubitza

input.Makefile: Maps building: %/.map.csv.last_cleanup: Removed no longer accurate comment about mappings being autoremoved

5248 10/04/2012 09:34 PM Aaron Marcuse-Kubitza

inputs/.TNRS/tnrs/map.csv: Remapped Name_submitted to new verbatimScientificNameWithAuthorship to create an additional level of taxonconcept for the concatenated (TNRS input) name separate from the parsed (TNRS output) name

5247 10/04/2012 09:33 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Mapped verbatimScientificNameWithAuthorship as an additional level of taxonconcept for the concatenated (TNRS input) name separate from the parsed (TNRS output) name

5246 10/04/2012 09:26 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept.canon_taxonconcept_id: comment: Changed three-level hierarchy to four-level hierarchy which separates the concatenated (TNRS input) name from the parsed (TNRS output) name

5245 10/04/2012 09:22 PM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Added back verbatimScientificNameWithAuthorship, which will now be used to store the TNRS input name

5244 10/04/2012 08:45 PM Aaron Marcuse-Kubitza

schemas/filter_ERD.csv: Removed no longer used table taxonscope

5243 10/04/2012 08:32 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: voucher: Removed accessioncode because this table has no sourceaccessioncode which it would be generated from (it just links a taxonoccurrence to a vouchering specimenreplicate)

5242 10/04/2012 08:26 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: Renamed datasource_id to creator_id so it can apply generally to any entity (such as a person), not just an aggregated datasource. This also enables taxonconcept.datasource_id to merge with creator_id, which now serves the same purpose.

5241 10/04/2012 08:05 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: Renamed definer_id to creator_id to allow merging with datasource_id when datasource_id is renamed to creator_id

5240 10/04/2012 07:50 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Populated new taxonconcept.definer_id from identifiedBy, or when no identifiedBy is specified, from the datasource itself (using _simplifyPath:[next=datasource_id])

5239 10/04/2012 07:43 PM Aaron Marcuse-Kubitza

sql_io.py: put_table(): Resolve default value column after the main loop (inserts and selects), so that the default value column can refer to an output column that is not in the original mapping but is added to the mapping from a col_defaults entry. This requires deferring the "Missing mapping for NOT NULL column" warning until the default value column is resolved, and including all columns in the full_in_table since the default value input column is not yet known.

5238 10/04/2012 06:59 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: comment: Changed definition to "A taxon concept defined by an entity" to correspond with the table's new name and usage

5237 10/04/2012 06:51 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Fixed bug where needed to set datasource_id=0 on the TNRS party (which concatenated names/TNRS inputs are owned by) in order to make it a datasource (a root party)

5236 10/04/2012 06:44 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: party: Fixed bug where needed separate unique index for roots (datasources), whose organizationnames must be globally unique rather than unique within a datasource

5235 10/04/2012 06:28 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: Renamed concept_reference_id to definer_id because this is a clearer name and because this will allow merging with datasource_id, which serves the same purpose

5234 10/04/2012 06:15 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: party: Made it datasource-scoped. Since this creates a recursive fkey, a datasource (a root party) should point to itself in this field, which will happen automatically by setting it to the special value 0.

5233 10/04/2012 05:51 PM Aaron Marcuse-Kubitza

lib/PostgreSQL-MySQL.csv: Changed translation of fulltext to quote the identifier instead of appending characters to make it not a reserved word

5232 10/04/2012 05:36 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: Moved concept_reference_id to the top of the table because it is now a key scoping field

5231 10/04/2012 05:30 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: concept_reference_id: Made it an fkey to party instead of taxonscope, because this is now the entity that defined the taxon concept, and is no longer specific to morphospecies. Removed no longer used table taxonscope.

5230 10/04/2012 05:13 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: Documented that it's equivalent to VegBank's plantConcept table

5229 10/04/2012 04:56 PM Aaron Marcuse-Kubitza

schemas/filter_ERD.csv: taxonconcept inward fkeys: Removed not applicable taxon filtered table, since the fkey points in the opposite direction and thus is not part of this filter

5228 10/04/2012 04:52 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonconcept: Renamed scope_id -> concept_reference_id as part of taxonomic schema refactoring at <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/2012-10-03_conference_call#Taxonomic-schema-refactoring>

5227 10/04/2012 04:47 PM Aaron Marcuse-Kubitza

README.TXT: Schema changes: Moved "update the following files with any renamings" out of "Sync ERD with vegbien.sql schema" because this is needed for any schema changes, not just as part of syncing the ERD

5226 10/04/2012 04:42 PM Aaron Marcuse-Kubitza

README.TXT: Schema changes: Added Refactoring tips section with steps to rename a table and a column

5225 10/04/2012 04:23 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: Renamed taxonpath -> taxonconcept as part of taxonomic schema refactoring at <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/2012-10-03_conference_call#Taxonomic-schema-refactoring>

5224 10/04/2012 04:17 PM Aaron Marcuse-Kubitza

README.TXT: Schema changes: Syncing ERD with vegbien.sql schema: Added step to update mappings/VegCore-VegBIEN.csv with any renamings

5223 10/04/2012 04:10 PM Aaron Marcuse-Kubitza

README.TXT: Schema changes: Syncing ERD with vegbien.sql schema: Added step to update schemas/filter_ERD.csv with any table renamings

5222 10/04/2012 03:58 PM Aaron Marcuse-Kubitza

inputs/import.stats.xls: Updated import times. This now includes the half-hour-long pre-import of the TNRS taxonomic names (which the datasources then match up with), as well as the concatenation of the datasource's taxonomic name components to create or match up with the TNRS input name.

5221 10/04/2012 03:54 PM Aaron Marcuse-Kubitza

README.TXT: Data import: make backups/TNRS.backup/restore: Run it in the background because it takes awhile

5220 10/04/2012 03:53 PM Aaron Marcuse-Kubitza

README.TXT: Data import: Added steps to sync the TNRS schema to the latest version on vegbiendev

5219 10/04/2012 03:38 PM Aaron Marcuse-Kubitza

README.TXT: Data import: make inputs/download-logs: Added tnrs_log=1 so the TNRS daemon log is downloaded as well

5218 10/03/2012 01:55 PM Aaron Marcuse-Kubitza

Added inputs/test_taxonomic_names/Taxon/testNames.txt since this is test data, and thus can be under version control

5217 10/03/2012 01:55 PM Aaron Marcuse-Kubitza

Added inputs/test_taxonomic_names/README.TXT with Bob's comments

5216 10/03/2012 01:41 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonpath.taxon_id: Changed comment to indicate that this used for parsed, not just accepted names. Parsed names have been standardized by TNRS but may be synonyms.

5215 10/03/2012 01:27 PM Aaron Marcuse-Kubitza

README.TXT: Documentation: To import and scrub just the test taxonomic names: Added `yes|` before make schemas/public/reinstall so the user isn't prompted to confirm the reinstallation a second time, and can just copy and paste the set of 5 commands directly into the terminal

5214 10/03/2012 01:11 PM Aaron Marcuse-Kubitza

tnrs_db: Made wait option default to off to facilitate running tnrs_db by itself, rather than as part of an import

5213 10/03/2012 01:08 PM Aaron Marcuse-Kubitza

tnrs_db: Added wait option to have tnrs_db exit as soon as no more names are available. This is useful for running tnrs_db when there is no concurrent import running, and therefore no need to wait for new data.

5212 10/03/2012 01:00 PM Aaron Marcuse-Kubitza

tnrs_db: Fixed the time of the "Waited" message so it that the total_pause (containing the next wait) would be incremented after the message was displayed. Split the "Waited" and "Waiting" messages into two separate messages.

5211 10/03/2012 12:51 PM Aaron Marcuse-Kubitza

README.TXT: Data import: Added steps to back up the TNRS cache, since it takes a long time to recreate. This also enables syncing it with a local machine when `make backups/download` is run.

5210 10/03/2012 12:47 PM Aaron Marcuse-Kubitza

README.TXT: Documentation: Added instructions to import and scrub just the test taxonomic names

5209 10/03/2012 12:41 PM Aaron Marcuse-Kubitza

input.Makefile: Staging tables installation: uninstall: For the TNRS datasource, prompt the user before deleting the schema, since the data in it is not easily reconstructible from a flat file

5208 10/03/2012 11:41 AM Aaron Marcuse-Kubitza

sql.py: map_expr(): When matching without quotes, support names containing spaces by not matching words when preceded or followed by quotes

5207 10/03/2012 11:24 AM Aaron Marcuse-Kubitza

sql.py: Expressions: bool_re: Also match parentheses surrounding the boolean value

5206 10/03/2012 08:57 AM Aaron Marcuse-Kubitza

README.TXT: Data import: import_all: Don't run with & because this prevents the created jobs from being owned by the calling shell. Instead, import the TNRS names as a separate backgrounded step and wait for it to finish before starting import_all. Removed TNRS import steps from import_all since these are now invoked separately.

5205 10/03/2012 08:35 AM Aaron Marcuse-Kubitza

README.TXT: Data import: Run import_all in the background, because it needs to import all the taxonomic names synchronously before it can start the datasource import in the background

5204 10/03/2012 08:19 AM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

5203 10/03/2012 08:14 AM Aaron Marcuse-Kubitza

inputs/.TNRS/tnrs/map.csv: Mapped Unmatched_terms to morphospecies because the morphospecies is what's left once named ranks are matched

5202 10/03/2012 08:11 AM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Mapped morphospecies

5201 10/03/2012 08:08 AM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Added morphospecies

5200 10/03/2012 08:04 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxonpath: Added morphospecies

5199 10/03/2012 07:43 AM Aaron Marcuse-Kubitza

inputs/.TNRS/tnrs/test.xml.ref: Updated for latest TNRS output

5198 10/03/2012 06:40 AM Aaron Marcuse-Kubitza

inputs/.TNRS/tnrs/map.csv: Infraspecific_rank_2, Infraspecific_epithet_2_*: Mapped to UNUSED because they do not appear to be provided by TNRS (it just puts additional infraspecific names in Unmatched_terms)

5197 10/03/2012 06:34 AM Aaron Marcuse-Kubitza

inputs/.TNRS/tnrs/map.csv: Omit Infraspecific_rank because Name_matched_rank contains the unabbreviated rank and is provided more often

5196 10/03/2012 06:29 AM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Also map TNRS-parsed infraspecificEpithet (Infraspecific_epithet_matched) to taxon at the infraspecies rank

5195 10/03/2012 06:07 AM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Also map TNRS-parsed taxonomic ranks to the tree of life in the taxon table

5194 10/03/2012 05:18 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxon: Added comment that this table stores the tree of life

5193 10/03/2012 05:00 AM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: accepted taxonomic terms: Use new _set_canon_taxonpath() to set the canon_taxonpath_id after the taxonpath has been inserted, so that if the taxonpath is an accepted name (scrubs to itself), it will link up to the just-inserted taxonpath with the taxonomic ranks parsed out, rather than to a new taxonpath containing only the few taxonomic ranks of the accepted name that TNRS provides. In particular, this (together with the tnrs_accepted_names sorting index on TNRS.tnrs) ensures that an accepted name is imported with its genus and species parsed out by TNRS instead of concatenated together in the Accepted_name_species field (genus+species). This enables the individual taxonomic ranks to be used in constructing the leaves of the tree of life (the taxon table).

5192 10/03/2012 04:50 AM Aaron Marcuse-Kubitza

sql_io.py: put_table(): Fixed bug where row_ct_ref was incorrectly being incremented when the iteration is a function call. This bug only occurred in row-based mode, because the DB cursor for a function call is not stored in column-based mode.

5191 10/03/2012 04:30 AM Aaron Marcuse-Kubitza

inputs/.TNRS/tnrs/map.csv: Use Name_matched_author/Name_matched_accepted_family instead of Author_matched/Family_matched because these fields are provided more often, due to being determined from the matched name itself rather than from the original string. This helps to fill in as many fields as possible. For accepted names (which scrub to themselves), this is especially important, because it adds the accepted name's family, which is not present in the input taxonomic name.

5190 10/03/2012 03:58 AM Aaron Marcuse-Kubitza

xml_func.py: process(): Fixed bug where need to preserve complex functions that have unevaluated XML nodes as arguments, because XML nodes are not accepted by sql_io.put() (they are handled by db_xml.put())

5189 10/03/2012 03:08 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: Renamed set_canon_taxonpath() to _set_canon_taxonpath() (adding _ prefix) so that db_xml.put() treats its arguments as arguments rather than as children with fkeys to parent

5188 10/03/2012 03:02 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: Added set_canon_taxonpath() to set a taxonpath's canon_taxonpath_id after it has been created

5187 10/03/2012 02:48 AM Aaron Marcuse-Kubitza

Added inputs/.TNRS/tnrs/cleanup.sql to cluster TNRS.tnrs on tnrs_accepted_names. This keeps TNRS.tnrs sorted with the accepted names first.

5186 10/03/2012 02:46 AM Aaron Marcuse-Kubitza

input.Makefile: Staging tables installation: %/cleanup: Also run any custom cleanup.sql provided in the subdir. %/install: Removed processing of postprocess.sql because no datasources are using it and because cleanup.sql can now be used for this purpose.

5185 10/03/2012 02:39 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: tnrs: Added tnrs_accepted_names index, which sorts accepted names first, and cluster the table on this index. This ensures that the component-parsed entries for accepted names are created before any verbatim names that point to them.