Project

General

Profile

Statistics
| Revision:

# Date Author Comment
729 01/30/2012 12:28 PM Aaron Marcuse-Kubitza

inputs/NYBG/maps/VegX.organisms.csv: Added note that the primary key has NULL values in some rows

728 01/30/2012 12:24 PM Aaron Marcuse-Kubitza

input.Makefile: Preserve as many intermediate files as possible (make likes to delete intermediates if they aren't marked as .PRECIOUS)

727 01/30/2012 11:46 AM Aaron Marcuse-Kubitza

sort: Sort empty strings last so that inputs with no mapping go at the end of the map spreadsheet

726 01/30/2012 11:24 AM Aaron Marcuse-Kubitza

VegBIEN-VegBank.csv: Updated for recent table renames

725 01/30/2012 11:21 AM Aaron Marcuse-Kubitza

join: For input mappings with no match in the join map, include them in the output map with an empty mapping

724 01/30/2012 11:05 AM Aaron Marcuse-Kubitza

input.Makefile: Generalized to handle mapping via any format, not just VegX

723 01/30/2012 10:44 AM Aaron Marcuse-Kubitza

input.Makefile: Don't print message to accept output for failing 2-step tests, because they use another test's accepted output

722 01/28/2012 06:02 PM Aaron Marcuse-Kubitza

input.Makefile: Don't abort tester if only 2-step test fails, as it's often finicky

721 01/28/2012 05:55 PM Aaron Marcuse-Kubitza

xml_func.py: Raise xml_func.SyntaxException for ValueErrors generated by date.strftime() (e.g. year out of range due to poor Y2K support in some OS implementations of strftime)

720 01/28/2012 05:51 PM Aaron Marcuse-Kubitza

xml_func.py: Raise xml_func.SyntaxException for ValueErrors generated by datetime.date() (e.g. month out of range)

719 01/28/2012 05:46 PM Aaron Marcuse-Kubitza

vegbien.sql: Added project.reference_id to namespace project names by datasource

718 01/28/2012 05:39 PM Aaron Marcuse-Kubitza

input.Makefile: Import all tables at once by default

717 01/28/2012 05:11 PM Aaron Marcuse-Kubitza

bin/map: Print "Inserted ... new rows into database" message to stdout rather than stderr so it can be stored in the test case output as a validation check

716 01/28/2012 05:08 PM Aaron Marcuse-Kubitza

Accepted initial test output for NYBG/test/import.out.ref

715 01/28/2012 05:06 PM Aaron Marcuse-Kubitza

bin/map: Clean up datasource input values

714 01/28/2012 05:06 PM Aaron Marcuse-Kubitza

strings.py: Added std_newl() to convert line endings and cleanup() to process strings with extra or nonstandard whitespace

713 01/28/2012 04:46 PM Aaron Marcuse-Kubitza

PostgreSQL-MySQL.csv: Deal with custom types

712 01/28/2012 04:36 PM Aaron Marcuse-Kubitza

vegbien.sql: Added aggregateoccurrence.occurrencestatus_dwc field

711 01/28/2012 04:22 PM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

710 01/28/2012 04:21 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Added commclass table to ERD

709 01/28/2012 04:11 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed direct pointer from location to namedplace because locationplace already has this relationship and we don't want to have an extra pointer just for duplicate elimination

708 01/28/2012 03:56 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Added stratummethod to ERD

707 01/28/2012 03:53 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed locationevent.stratummethod_id because the stratummethod is a per-stratum (or technically, per-stratumtype) field

706 01/28/2012 03:28 PM Aaron Marcuse-Kubitza

PostgreSQL-MySQL.csv: Remove CHECK constraints

705 01/28/2012 03:20 PM Aaron Marcuse-Kubitza

PostgreSQL-MySQL.csv: Remove functions and triggers

704 01/28/2012 03:13 PM Aaron Marcuse-Kubitza

vegbien.sql: Ensure that aggregateoccurrence.count == 1 when the aggregateoccurrence has a plantobservation. Use a trigger to do this automatically.

703 01/28/2012 02:51 PM Aaron Marcuse-Kubitza

README.TXT: Added command for reimporting data

702 01/28/2012 02:48 PM Aaron Marcuse-Kubitza

README.TXT: Added instructions to sync ERD with vegbien.sql schema. Organized commands into categories.

701 01/28/2012 02:23 PM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

700 01/28/2012 02:22 PM Aaron Marcuse-Kubitza

Added BIEN_logo.png

699 01/28/2012 02:19 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Added color group legend

698 01/28/2012 01:59 PM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

697 01/28/2012 01:58 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Fixed lines

696 01/28/2012 01:57 PM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

695 01/28/2012 01:57 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Fixed lines and moved plant to its own color category

694 01/28/2012 01:52 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Added colors to ERD

693 01/28/2012 01:34 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Simplified diagram by removing column types

692 01/28/2012 12:56 PM Aaron Marcuse-Kubitza

schemas/Makefile: Don't generate for_ERD DDLs because the ERD is now synced with the full schema

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