Project

General

Profile

Statistics
| Revision:

# Date Author Comment
788 01/31/2012 07:37 PM Aaron Marcuse-Kubitza

exc.py: Added str_() to convert an Exception to a string. Use str_() in print_ex().

787 01/31/2012 07:31 PM Aaron Marcuse-Kubitza

xml_func.py: conv_items(): Only trap type conversion errors, not errors in map_items(). A previous bug incorrectly interpreted an error caught by map_items() as a SyntaxException.

786 01/31/2012 07:23 PM Aaron Marcuse-Kubitza

xml_func.py: _date func: Fixed bug where setting defaults of a date part and removing zeros needed to happen after elements were converted to int. Refactored to use conv_items().

785 01/31/2012 06:58 PM Aaron Marcuse-Kubitza

Makefiles: Added documentation labels to each section

784 01/31/2012 06:55 PM Aaron Marcuse-Kubitza

Makefile: Added documentation labels to each section

783 01/31/2012 06:49 PM Aaron Marcuse-Kubitza

input.Makefile: Added documentation labels to each section

782 01/31/2012 06:44 PM Aaron Marcuse-Kubitza

xml_dom.py: Fixed conversion of minidom.Node to a string to use toprettyxml() again

781 01/31/2012 06:40 PM Aaron Marcuse-Kubitza

Added inputs/SALVIAS-CSV/maps/VegBIEN.* maps

780 01/31/2012 06:39 PM Aaron Marcuse-Kubitza

input.Makefile: If a test doesn't yet have accepted output, print its current output

779 01/31/2012 06:24 PM Aaron Marcuse-Kubitza

mappings/Makefile: Only clean up a core map (intermediate format->VegBIEN) when it's modified. Note that the .last_cleanup files need to be under version control to prevent cleanups upon running any map command in a new checkout.

778 01/31/2012 06:07 PM Aaron Marcuse-Kubitza

xml_func.py: Support dates with year/month/day == 0

777 01/31/2012 06:06 PM Aaron Marcuse-Kubitza

input.Makefile: Print informative message if test failure is ignored

776 01/31/2012 05:47 PM Aaron Marcuse-Kubitza

input.Makefile: Print path to test output so you can tell which directory a test is running in

775 01/31/2012 05:45 PM Aaron Marcuse-Kubitza

input.Makefile: Fixed 2-step tests, which were still using $(root)/map when all bin/map calls were supposed to be routed through $(map)

774 01/31/2012 05:05 PM Aaron Marcuse-Kubitza

xml_dom.py: Print simple XML elements on one line

773 01/31/2012 04:33 PM Aaron Marcuse-Kubitza

Added inputs/SALVIAS-CSV/maps

772 01/31/2012 04:33 PM Aaron Marcuse-Kubitza

input.Makefile: Added import support for CSV and XML inputs (no test support yet)

771 01/31/2012 03:48 PM Aaron Marcuse-Kubitza

inputs/SALVIAS-CSV: Added src files

770 01/31/2012 03:47 PM Aaron Marcuse-Kubitza

inputs/SALVIAS-CSV: Added src files

769 01/31/2012 03:42 PM Aaron Marcuse-Kubitza

inputs: Removed no longer needed svn:ignore

768 01/31/2012 03:41 PM Aaron Marcuse-Kubitza

input.Makefile: Coded svn:ignore directly in Makefile

767 01/31/2012 03:40 PM Aaron Marcuse-Kubitza

inputs/Makefile: Added %-add target to add new inputs

766 01/31/2012 03:35 PM Aaron Marcuse-Kubitza

input.Makefile: Added svn_props rule for updating svn:ignore of dir and subdirs

765 01/31/2012 02:42 PM Aaron Marcuse-Kubitza

vegbien.sql: Made aggregateoccurrence:taxonoccurrence relationship 1:1

764 01/31/2012 02:03 PM Aaron Marcuse-Kubitza

Added inputs/CTFS/src, with subset of files that will be in version control

763 01/31/2012 02:01 PM Aaron Marcuse-Kubitza

mappings/for_review/DwC-VegBIEN.specimens.csv: Updated

762 01/30/2012 07:14 PM Aaron Marcuse-Kubitza

inputs/NYBG: Map via DwC instead of VegX

761 01/30/2012 07:12 PM Aaron Marcuse-Kubitza

mappings/DwC-VegBIEN.specimens.csv: Provide schema URLs for namespaces (in the column header)

760 01/30/2012 07:11 PM Aaron Marcuse-Kubitza

input.Makefile: Deal with core maps (the main *-VegBIEN map) whose roots are other than organisms

759 01/30/2012 07:09 PM Aaron Marcuse-Kubitza

bin/map: In the xml_func.process() for XML outputs, pass an on_error that outputs to ex_tracker.track()

758 01/30/2012 07:08 PM Aaron Marcuse-Kubitza

xpath.py: set_id(): Deal with XPaths with an

757 01/30/2012 07:07 PM Aaron Marcuse-Kubitza

xml_dom.py: replace_with_text(): Accept Node inputs for cases where e.g. an XML func with an error has been replaced with a comment

756 01/30/2012 07:06 PM Aaron Marcuse-Kubitza

xml_func.py: _date: Year defaults to 1900

755 01/30/2012 05:18 PM Aaron Marcuse-Kubitza

DwC-VegBIEN.specimens.csv: Output DwC as XML instead of CSV

754 01/30/2012 05:05 PM Aaron Marcuse-Kubitza

xpath.py: Allow XPath names to be quoted literals, just like values. Handle : embedded in a name (even without quotes), often indicating a namespace.

753 01/30/2012 04:55 PM Aaron Marcuse-Kubitza

Removed no longer needed lib/ERD-wiki.csv

752 01/30/2012 04:54 PM Aaron Marcuse-Kubitza

Parser.py: In syntax errors, only print <END> at end of string if error was at end of string

751 01/30/2012 04:50 PM Aaron Marcuse-Kubitza

bin/map: Print error message rather than assertion failure for CSV output, which isn't supported yet

750 01/30/2012 04:47 PM Aaron Marcuse-Kubitza

input.Makefile: Don't abort tester if via test fails, because CSV output is not supported yet

749 01/30/2012 04:02 PM Aaron Marcuse-Kubitza

input.Makefile: Deal properly with more than one format that's being mapped via (e.g. DwC and VegX)

748 01/30/2012 03:49 PM Aaron Marcuse-Kubitza

Renamed mappings/DwC-VegBIEN.organisms.csv back to mappings/DwC-VegBIEN.specimens.csv because it now uses /specimenreplicate as the output root

747 01/30/2012 03:43 PM Aaron Marcuse-Kubitza

Renamed mappings/DwC-VegBIEN.organisms.csv back to mappings/DwC-VegBIEN.specimens.csv because it now uses /specimenreplicate as the output root

746 01/30/2012 03:41 PM Aaron Marcuse-Kubitza

mappings/DwC-VegBIEN.organisms.csv: Fixed syntax error in a mapping

745 01/30/2012 03:35 PM Aaron Marcuse-Kubitza

mappings/DwC-VegBIEN.organisms.csv: Sorted

744 01/30/2012 03:34 PM Aaron Marcuse-Kubitza

mappings/Makefile: Sort DwC-VegBIEN.organisms.csv

743 01/30/2012 03:33 PM Aaron Marcuse-Kubitza

inputs/NYBG/maps/VegBIEN.organisms.csv: Regenerated

742 01/30/2012 03:12 PM Aaron Marcuse-Kubitza

mappings/DwC-VegBIEN.organisms.csv: Sort on output column

741 01/30/2012 03:04 PM Aaron Marcuse-Kubitza

Renamed mappings/DwC-VegBIEN.specimens.csv to DwC-VegBIEN.organisms.csv because it (currently) uses /taxonoccurrence as the output root

740 01/30/2012 03:03 PM Aaron Marcuse-Kubitza

Renamed mappings/DwC-VegBIEN.specimens.csv to DwC-VegBIEN.organisms.csv because it (currently) uses /taxonoccurrence as the output root

739 01/30/2012 03:01 PM Aaron Marcuse-Kubitza

Makefile: Support recursing into subdir when no target is specified (e.g. make mappings/)

738 01/30/2012 02:55 PM Aaron Marcuse-Kubitza

union: Merge rows (and column labels) using maps.merge_mappings()

737 01/30/2012 02:51 PM Aaron Marcuse-Kubitza

join: Merge the column labels as well

736 01/30/2012 02:51 PM Aaron Marcuse-Kubitza

maps.py: Eliminate duplicates when merging values in the same column

735 01/30/2012 02:06 PM Aaron Marcuse-Kubitza

join: Moved mappings-specific merge functionality into maps.merge_mappings()

734 01/30/2012 01:55 PM Aaron Marcuse-Kubitza

join: Use merge_rows() from new maps.py

733 01/30/2012 01:54 PM Aaron Marcuse-Kubitza

Added new library maps.py for map spreadsheet manipulation

732 01/30/2012 01:38 PM Aaron Marcuse-Kubitza

join: Merge comments of input map and join map

731 01/30/2012 01:37 PM Aaron Marcuse-Kubitza

join: Report which input mappings are missing a mapping in the join map

730 01/30/2012 01:03 PM Aaron Marcuse-Kubitza

join: Report which input mappings are missing a mapping in the join map

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