Project

General

Profile

Statistics
| Revision:

# Date Author Comment
832 02/04/2012 03:10 PM Aaron Marcuse-Kubitza

sql.py: Added documentation labels to each section

831 02/04/2012 03:03 PM Aaron Marcuse-Kubitza

db_xml.py: Used new sql.py recover functionality

830 02/04/2012 03:03 PM Aaron Marcuse-Kubitza

sql.py: Added ability to recover from database errors so you don't get the error "InternalError: current transaction is aborted, commands ignored until end of transaction block"

829 02/04/2012 02:25 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed taxonoccurrence.taxoninferencearea because it's duplicated in aggregateoccurrence.inferencearea

828 02/04/2012 02:18 PM Aaron Marcuse-Kubitza

bin/map: Highlight the "input row" and "output row:" labels in error messages

827 02/04/2012 02:17 PM Aaron Marcuse-Kubitza

xml_func.py: Highlight nodes that were commented out because of errors

826 02/04/2012 02:17 PM Aaron Marcuse-Kubitza

exc.py: Print exceptions with the first line highlighted in red

825 02/04/2012 02:16 PM Aaron Marcuse-Kubitza

term.py: Added emph() and error()

824 02/04/2012 01:51 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Fixed lines

823 02/04/2012 01:47 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Fixed lines

822 02/04/2012 01:46 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Added note, notelink, and revision

821 02/04/2012 01:43 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Added embargo to diagram

820 02/04/2012 01:27 PM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

819 02/04/2012 01:24 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Fixed lines. Added "Core subset" and "Other tables" labels.

818 02/04/2012 01:03 PM Aaron Marcuse-Kubitza

xml_func.py: Changed _date func to use new dates.strftime(), which can handle years before 1900

817 02/04/2012 01:03 PM Aaron Marcuse-Kubitza

Added dates.py to handle date/time manipulation, such as fixing Python's broken strftime() that can't handle years before 1900

816 02/04/2012 01:02 PM Aaron Marcuse-Kubitza

Regenerated mappings/for_review/DwC-VegBIEN.specimens.csv

815 02/03/2012 06:15 PM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

814 02/03/2012 06:12 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Added reference and party tables

813 02/03/2012 05:49 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Fixed lines

812 02/03/2012 05:48 PM Aaron Marcuse-Kubitza

filter_ERD.csv: Remove fkeys to heavily-linked tables (reference, party)

811 02/03/2012 05:30 PM Aaron Marcuse-Kubitza

Added to_do/milestones.doc

810 02/03/2012 05:27 PM Aaron Marcuse-Kubitza

Renamed milestones.doc to timeline.doc

809 02/03/2012 05:24 PM Aaron Marcuse-Kubitza

Added schemas/filter_ERD.csv and use it when generating vegbien.my.sql

808 02/03/2012 05:16 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Added cover* to main diagram

807 02/03/2012 04:53 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Started adding additional tables "below the fold" on the 2nd page

806 02/03/2012 04:34 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Fixed lines

805 02/03/2012 04:26 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Moved legend to top left to make room for more misc tables. Organized legend by location on diagram.

804 02/03/2012 04:14 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Added soilobs table

803 02/03/2012 04:07 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Added userdefined tables. Fixed lines.

802 02/03/2012 03:57 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Changed location color to match VegBank ERD

801 02/03/2012 03:53 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Added trait to diagram

800 02/03/2012 03:38 PM Aaron Marcuse-Kubitza

vegbien.ERD.mwb: Added plantstatus to diagram. Added margins around diagram.

799 02/03/2012 02:49 PM Aaron Marcuse-Kubitza

Added milestones.doc

798 02/03/2012 12:39 PM Aaron Marcuse-Kubitza

DwC mappings: Fixed syntax of _date XML funcs to not wrap dates twice in a _date func

797 02/03/2012 12:38 PM Aaron Marcuse-Kubitza

xml_func.py: Fixed bug in SyntaxException constructor where the cause was not passed to ExceptionWithCause

796 02/03/2012 12:24 PM Aaron Marcuse-Kubitza

xml_dom.py: Override Node.__repr__ and Element.__repr__ to make sure self.toprettyxml() is used in all cases where a Node is converted to a string

795 02/03/2012 11:57 AM Aaron Marcuse-Kubitza

util.py: Don't print type name in ConstraintError message because sometimes an entry tuple (e.g. from a dict) is checked, and then the type isn't useful

794 02/03/2012 11:53 AM Aaron Marcuse-Kubitza

xml_func.py: Use conv_items(str, ...) in XML funcs that require strings, but don't otherwise use conv_items()

793 02/03/2012 11:50 AM Aaron Marcuse-Kubitza

xml_func.py: Use xml_dom.TextEntryOnlyIter to check inputs for XML funcs that only handle strings, not whole elements

792 02/03/2012 11:49 AM Aaron Marcuse-Kubitza

xml_dom.py: Added TextEntryOnlyIter to check that values returned by NodeTextEntryIter are strings from text nodes

791 02/03/2012 11:48 AM Aaron Marcuse-Kubitza

util.py: Added is_str() and CheckedIter

790 01/31/2012 07:52 PM Aaron Marcuse-Kubitza

input.Makefile: Log each import to a new log file named according to the current time

789 01/31/2012 07:38 PM Aaron Marcuse-Kubitza

xml_func.py: SyntaxException: Use exc.ExceptionWithCause

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