Project

General

Profile

Statistics
| Revision:

# Date Author Comment
691 01/28/2012 12:54 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Synced with whole schema

690 01/28/2012 12:54 PM Aaron Marcuse-Kubitza

vegbien.sql: Reordered fields in tables truncated in the ERD so that all removed fields are at the end of the table

689 01/28/2012 12:44 PM Aaron Marcuse-Kubitza

schemas/Makefile: Generate MySQL version of vegbien.sql as well as vegbien.for_ERD.sql for eventual use in syncing the ERD with the whole schema

688 01/28/2012 12:43 PM Aaron Marcuse-Kubitza

PostgreSQL-MySQL.csv: Added translations for syntaxes used by pg_dump

687 01/28/2012 12:41 PM Aaron Marcuse-Kubitza

PostgreSQL-MySQL.csv: Added translations for syntaxes used by pg_dump

686 01/28/2012 12:40 PM Aaron Marcuse-Kubitza

repl: All regexps are by default in multiline and ignore case mode

685 01/27/2012 04:59 PM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

684 01/27/2012 04:59 PM Aaron Marcuse-Kubitza

vegbien.sql: Made planttag a child of plantobservation instead of plant, since tags change over time

683 01/27/2012 04:39 PM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

682 01/27/2012 04:37 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed no longer used plantobservation.aggregateoccurrence_id

681 01/27/2012 04:35 PM Aaron Marcuse-Kubitza

VegX-VegBIEN mapping: Link aggregateoccurrence to plantobservation via forward pointer rather than backward child-to-parent pointer

680 01/27/2012 04:32 PM Aaron Marcuse-Kubitza

vegbien.sql: Made plantobservation.aggregateoccurrence_id optional because link will soon be going in the other direction

679 01/27/2012 04:25 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed taxonbinmethod table since its fields are now in aggregateoccurrence

678 01/27/2012 04:14 PM Aaron Marcuse-Kubitza

vegbien.sql: Added taxonbinmethod fields to aggregateoccurrence

677 01/27/2012 04:10 PM Aaron Marcuse-Kubitza

vegbien.sql: Added back aggregateoccurrence.stratum_id

676 01/27/2012 04:05 PM Aaron Marcuse-Kubitza

vegbien.sql: Added stratum.area

675 01/27/2012 04:03 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed denormalized duplicate fields from stratum

674 01/27/2012 03:58 PM Aaron Marcuse-Kubitza

vegbien.sql: Added plant and planttag tables

673 01/27/2012 03:43 PM Aaron Marcuse-Kubitza

VegBIEN: Renamed stem to stemobservation

672 01/27/2012 03:35 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed specimenreplicate:taxonoccurrence 1:1 requirement

671 01/27/2012 03:32 PM Aaron Marcuse-Kubitza

VegBIEN: Renamed individualplant to plantobservation

670 01/27/2012 03:22 PM Aaron Marcuse-Kubitza

vegbien.sql: Updated table comments for specimenreplicate and specimen

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.