Project

General

Profile

Statistics
| Revision:

# Date Author Comment
669 01/27/2012 03:19 PM Aaron Marcuse-Kubitza

vegbien.sql: Added specimen table to tie specimenreplicates together

668 01/27/2012 03:12 PM Aaron Marcuse-Kubitza

VegBIEN: Renamed specimen to specimenreplicate

667 01/27/2012 03:06 PM Aaron Marcuse-Kubitza

Remerged ERD DDL into ERD

666 01/27/2012 02:55 PM Aaron Marcuse-Kubitza

Redoing commit that linked aggregateoccurrence forward to individualplant, allowing many taxonoccurrences (e.g. one for each specimen) to point to the same plant (e.g. that those specimens came from)

665 01/27/2012 12:57 PM Aaron Marcuse-Kubitza

Added NYBG input

664 01/27/2012 12:48 PM Aaron Marcuse-Kubitza

input.Makefile: Run tests with verbose output

663 01/27/2012 12:48 PM Aaron Marcuse-Kubitza

bin/map: Fixed bug where verbose/debug flags were ignored and message were always printed.

662 01/27/2012 12:39 PM Aaron Marcuse-Kubitza

bin/map: Added verbose and debug options. Added initial debug info.

661 01/27/2012 12:39 PM Aaron Marcuse-Kubitza

xml_dom.py: Added is_simple() to determine whether every child recursively has no more than one child. Used is_simple() to print condensed XML when simple nodes are converted to a string.

660 01/27/2012 11:58 AM Aaron Marcuse-Kubitza

vegbien.sql: Enforce 1:1 relationship between aggregateoccurrence<->individualplant and taxonoccurrence<->specimen

659 01/27/2012 11:44 AM Aaron Marcuse-Kubitza

vegbien.sql: Changed individualplant UNIQUE constraint to enforce 1:1 relationship between aggregateoccurrence and individualplant

658 01/27/2012 11:35 AM Aaron Marcuse-Kubitza

Undoing previous commit since it would prevent a plant from being tied to a data source, because the aggregateoccurrence pointer goes in the wrong direction

657 01/27/2012 11:18 AM Aaron Marcuse-Kubitza

vegbien.sql: Added aggregateoccurrence.individualplant_id to make a 1:1 relationship between aggregateoccurrence and individualplant

656 01/27/2012 01:55 AM Aaron Marcuse-Kubitza

input.Makefile: Generate VegBIEN.2-step.xml correctly from VegX.xml, by removing DB config env vars passed to map for that test case. Note that this causes the VegBIEN.2-step.xml test to fail, because the 2-step mapping does not yet match the 1-step mapping.

655 01/27/2012 01:28 AM Aaron Marcuse-Kubitza

input.Makefile: Don't need to filter test output since stderr now goes to the screen

654 01/27/2012 01:21 AM Aaron Marcuse-Kubitza

input.Makefile: Don't save *.err outputs for each test because this information is printed to the screen

653 01/26/2012 06:50 PM Aaron Marcuse-Kubitza

input.Makefile: Send echoed diff command to stdout of the make process (set -x echoes it to stderr)

652 01/26/2012 06:48 PM Aaron Marcuse-Kubitza

input.Makefile: Write test stderr to .err file instead of test output, and tee it to stdout of the make process

651 01/26/2012 06:08 PM Aaron Marcuse-Kubitza

vegbien.sql: Updated name of UNIQUE constraint for specimen collectionnumber. Regenerated vegbien.ERD exports.

650 01/26/2012 05:49 PM Aaron Marcuse-Kubitza

input.Makefile: Don't print "accept test" message when user aborted a test with Ctrl+C

649 01/26/2012 05:34 PM Aaron Marcuse-Kubitza

inputs/SALVIAS/test: Accepted test outputs

648 01/26/2012 05:33 PM Aaron Marcuse-Kubitza

input.Makefile: Also print message for accepting test output when diff fails

647 01/26/2012 05:23 PM Aaron Marcuse-Kubitza

bin/map: Print a message when a database is successfully connected to

646 01/26/2012 05:20 PM Aaron Marcuse-Kubitza

bin/map: Print a message when a database is successfully connected to

645 01/26/2012 05:03 PM Aaron Marcuse-Kubitza

sql.py: Don't enclose PostgreSQL names in quotes because this disables case-insensitivity

644 01/26/2012 04:58 PM Aaron Marcuse-Kubitza

sql.py: Use esc_name() to escape fields in SELECT statements

643 01/26/2012 04:54 PM Aaron Marcuse-Kubitza

sql.py: Added esc_name() to escape identifiers like column names

642 01/26/2012 04:27 PM Aaron Marcuse-Kubitza

vegbien.sql: Added comments to specimen.collectioncode_dwc and collectionnumber to differentiate them

641 01/26/2012 04:22 PM Aaron Marcuse-Kubitza

vegbien.sql: Renamed authorspecimencode to collectionnumber to match its name in source data

640 01/26/2012 04:18 PM Aaron Marcuse-Kubitza

input.Makefile: Use pipefail to cause a test to fail even when the output is filtered by grep. Print message for failing tests with command to run to accept the new test output.

639 01/24/2012 06:10 PM Aaron Marcuse-Kubitza

VegX-VegBIEN mapping: Map additional taxondetermination.determinationdate input formats straight through

638 01/24/2012 06:08 PM Aaron Marcuse-Kubitza

test/input/SALVIAS_db.sh: Updated DB name

637 01/24/2012 05:57 PM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

636 01/24/2012 05:55 PM Aaron Marcuse-Kubitza

input.Makefile: Added documentation for why import errors for one input do not abort the import process for all inputs

635 01/24/2012 05:53 PM Aaron Marcuse-Kubitza

input.Makefile: Determine DB name from input directory name, rather than DB file name

634 01/24/2012 05:20 PM Aaron Marcuse-Kubitza

input.Makefile: Added documentation for accepting a test output

633 01/24/2012 05:07 PM Aaron Marcuse-Kubitza

mappings/Makefile: Don't delete DwC-VegBIEN.specimens.csv in clean

632 01/24/2012 05:05 PM Aaron Marcuse-Kubitza

VegBIEN: Renamed taxondetermination.*determination to is*

631 01/24/2012 04:16 PM Aaron Marcuse-Kubitza

inputs/SALVIAS/test: Ignore test outputs

630 01/24/2012 04:12 PM Aaron Marcuse-Kubitza

input.Makefile: Added test that generates VegBIEN.2-step.xml by mapping via a VegX.xml

629 01/24/2012 03:39 PM Aaron Marcuse-Kubitza

input.Makefile: Added test that generates VegX.xml

628 01/24/2012 03:29 PM Aaron Marcuse-Kubitza

input.Makefile: Added test that generates VegBIEN.xml

627 01/24/2012 02:50 PM Aaron Marcuse-Kubitza

input.Makefile: Factored test/import.out out of DB section

626 01/24/2012 02:43 PM Aaron Marcuse-Kubitza

input.Makefile: Renamed test/import.ref to import.out.ref. Changed syntax for accepting a test output to work with all types of test outputs.

625 01/24/2012 02:32 PM Aaron Marcuse-Kubitza

Makefiles: Recurse into outermost subdir rather than bypassing it and going directly to innermost subdir

624 01/24/2012 02:08 PM Aaron Marcuse-Kubitza

input.Makefile: Deal with inputs without a DB file, tests, verifications, etc.

623 01/24/2012 02:07 PM Aaron Marcuse-Kubitza

inputs/Makefile: Don't use subdir makefiles because they are no longer needed

622 01/24/2012 01:28 PM Aaron Marcuse-Kubitza

input.Makefile: Detect DB engine automatically from SQL file available in src subdir

621 01/24/2012 01:00 PM Aaron Marcuse-Kubitza

input.Makefile: Factored as much as possible out of section for each DB engine

620 01/24/2012 12:58 PM Aaron Marcuse-Kubitza

input.Makefile: Moved tests into test subdir

619 01/24/2012 12:51 PM Aaron Marcuse-Kubitza

input.Makefile: Moved tests into test subdir

618 01/24/2012 12:46 PM Aaron Marcuse-Kubitza

Added initial DwC-VegBIEN mappings spreadsheet with DwC terms

617 01/24/2012 12:36 PM Aaron Marcuse-Kubitza

inputs/SALVIAS/verify: Updated to use new names for renamed tables

616 01/24/2012 12:34 PM Aaron Marcuse-Kubitza

inputs/SALVIAS/verify: Updated to use new names for renamed tables

615 01/24/2012 12:18 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed no longer needed specimen.collector_id

614 01/24/2012 12:16 PM Aaron Marcuse-Kubitza

VegX-VegBIEN mapping: Map collector name to new verbatimcollectorname field

613 01/24/2012 12:11 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed specimen.collectornumber_dwc and replaced it with verbatimcollectorname to reflect that the collectornumber_dwc is actually an ID of the specimen, and the collector's name is what we want to store

612 01/23/2012 05:33 PM Aaron Marcuse-Kubitza

mappings/Makefile: Run simplify_xpath on VegX-VegBIEN.organisms.csv

611 01/23/2012 05:33 PM Aaron Marcuse-Kubitza

simplify_xpath: Be case sensitive to handle VegX correctly

610 01/23/2012 05:18 PM Aaron Marcuse-Kubitza

VegX-VegBIEN mapping: Avoid using a dummy taxondetermination with role=collector

609 01/23/2012 04:50 PM Aaron Marcuse-Kubitza

VegX-VegBIEN mapping: Map stem count to new stemcount field

608 01/23/2012 04:48 PM Aaron Marcuse-Kubitza

VegX-VegBIEN mapping: Take advantage of aggregateoccurrence.count being optional

607 01/23/2012 04:46 PM Aaron Marcuse-Kubitza

vegbien.sql: Made aggregateoccurrence.count to handle individuals data (for which count should be dynamically determined from # individual plants inside the aggregateoccurrence)

606 01/23/2012 04:43 PM Aaron Marcuse-Kubitza

NYBG-VegBIEN mapping: Don't map dummy values to locationcode, etc. (e.g. in specimens data) because these tables are no longer required

605 01/23/2012 04:42 PM Aaron Marcuse-Kubitza

vegbien.sql: Made several pointers to parent elements optional to deal with specimens data that might not have a location, etc.

604 01/23/2012 04:29 PM Aaron Marcuse-Kubitza

vegbien.sql: Added taxondetermination UNIQUE constraint

603 01/23/2012 04:18 PM Aaron Marcuse-Kubitza

VegX-VegBIEN mapping: Took advantage of location.confidentialitystatus being optional

602 01/23/2012 04:16 PM Aaron Marcuse-Kubitza

VegX-VegBIEN mapping: Took advantage of userdefined.userdefinedtype being optional

601 01/23/2012 04:13 PM Aaron Marcuse-Kubitza

vegbien.sql: Gave userdefined.userdefinedtype a default value

600 01/23/2012 04:10 PM Aaron Marcuse-Kubitza

VegX-VegBIEN mappings: Took advantage of plantconcept.reference_id becoming optional

599 01/23/2012 04:07 PM Aaron Marcuse-Kubitza

vegbien.sql: Made plantconcept.reference_id optional. Merge plantconcepts with no reference_id when eliminating duplicates.

598 01/23/2012 04:05 PM Aaron Marcuse-Kubitza

PostgreSQL-MySQL.csv: Deal with all non-NOT NULL timestamp fields

597 01/23/2012 04:00 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed confusing plantconcept.plantname field since we are using plantname.plantname instead

596 01/23/2012 03:54 PM Aaron Marcuse-Kubitza

VegBIEN: Renamed aux_role to role

595 01/23/2012 03:47 PM Aaron Marcuse-Kubitza

VegX-VegBIEN mappings: Took advantage of several fields becoming optional

594 01/23/2012 03:43 PM Aaron Marcuse-Kubitza

VegX-VegBIEN mappings: Took advantage of several fields becoming optional

593 01/23/2012 03:36 PM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

592 01/23/2012 03:36 PM Aaron Marcuse-Kubitza

vegbien.sql: taxonbinmethod points to stratumtype instead of stratum because stratumtype is a method table, but stratum is a measurements table. stratum does not point directly to stratummethod because it points to it via stratumtype.

591 01/23/2012 03:04 PM Aaron Marcuse-Kubitza

vegbien.sql: Made taxondetermination.determinationdate optional because some determinations might not have a date

590 01/23/2012 02:47 PM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

589 01/23/2012 02:46 PM Aaron Marcuse-Kubitza

vegbien.sql: Added specimen.authorspecimencode

588 01/23/2012 02:36 PM Aaron Marcuse-Kubitza

Adjusted vegbien.ERD.mwb

587 01/23/2012 02:34 PM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

586 01/23/2012 02:33 PM Aaron Marcuse-Kubitza

VegBIEN: Renamed sourceaccessionnumber to sourceaccessioncode to show that they are the data source's analog of accessioncode. Added sourceaccessioncode to all applicable tables because this is the database pkey, which is distinct from any author*code applied by the collector.

585 01/23/2012 01:56 PM Aaron Marcuse-Kubitza

vegbien.sql: Changed taxonbinmethod_keys to UNIQUE INDEX to take advantage of COALESCE for dealing with NULL values

584 01/23/2012 01:43 PM Aaron Marcuse-Kubitza

vegbien.sql: Renamed taxonbin to taxonbinmethod to reflect that it does not contain actual organisms (those go in aggregateoccurrence), but rather defined a method of aggregating organisms

583 01/23/2012 01:39 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed taxonbin.count because that belongs in aggregateoccurrence and taxonbin is more similar to a sampling method. Added taxonbin UNIQUE constraint.

582 01/23/2012 01:24 PM Aaron Marcuse-Kubitza

vegbien.sql: Do location duplicate elimination independently on code or lat/long, allowing duplicate entries with NULLs to exist when a location is incompletely specified

581 01/23/2012 01:15 PM Aaron Marcuse-Kubitza

vegbien.sql: Require location to have either an authorlocationcode or a lat/long. Distinguish between regular and subplots in UNIQUE constraint.

580 01/23/2012 01:10 PM Aaron Marcuse-Kubitza

vegbien.sql: Renamed location.latitude and longitude to publiclatitude, publiclongitude to reflect that they are not the actual lat/long. Switched to requiring reallatitude/reallongitude.

579 01/23/2012 01:02 PM Aaron Marcuse-Kubitza

Added inputs/TurboVeg

578 01/23/2012 12:58 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Deal with MySQL assuming that a timestamp field is NOT NULL

577 01/23/2012 12:57 PM Aaron Marcuse-Kubitza

PostgreSQL-MySQL.csv: Deal with MySQL assuming that a timestamp field is NOT NULL

576 01/23/2012 12:53 PM Aaron Marcuse-Kubitza

vegbien.sql: Made specimen.taxonoccurrence_id required

575 01/23/2012 12:47 PM Aaron Marcuse-Kubitza

vegbien.sql: Made several fields optional, adding defaults where needed

574 01/23/2012 12:47 PM Aaron Marcuse-Kubitza

PostgreSQL-MySQL.csv: Deal with PostgreSQL-style :: casts

573 01/23/2012 12:14 PM Aaron Marcuse-Kubitza

NYBG mappings: Add mapping for CollectorNumber to specimen.collectornumber_dwc

572 01/23/2012 12:08 PM Aaron Marcuse-Kubitza

vegbien.sql: Added specimen.collectornumber_dwc

571 01/23/2012 12:03 PM Aaron Marcuse-Kubitza

VegBIEN: Renamed sourceid to author*code

570 01/23/2012 12:01 PM Aaron Marcuse-Kubitza

VegBIEN: Renamed sourceid to author*code