Project

General

Profile

Statistics
| Revision:

# Date Author Comment
525 01/18/2012 01:57 PM Aaron Marcuse-Kubitza

VegBIEN: Renamed plot to location to reflect that a location can also be used for specimens

524 01/18/2012 01:29 PM Aaron Marcuse-Kubitza

vegbien.sql: Added individualplant.stemcount

523 01/18/2012 12:38 PM Aaron Marcuse-Kubitza

vegbien.sql: Added accessioncode fields to existing, modified tables

522 01/18/2012 12:21 PM Aaron Marcuse-Kubitza

vegbien.sql: Added accessioncode fields to new tables

521 01/17/2012 04:56 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed no longer needed individualplant.taxonarea

520 01/17/2012 04:40 PM Aaron Marcuse-Kubitza

VegBIEN: Moved taxondetermination.sourceaccessionnumber and museum_id to specimen

519 01/17/2012 03:32 PM Aaron Marcuse-Kubitza

vegbien.sql: Split taxondetermination UNIQUE CONSTRAINT into one constraint for each main key (taxonoccurrence_id, specimen_id, individualplant_id) to deal with Postgres treating a row with NULL in any of those columns as distinct. Added CHECK constraint to require one of taxonoccurrence_id, specimen_id, individualplant_id to be NOT NULL.

518 01/17/2012 02:47 PM Aaron Marcuse-Kubitza

VegBIEN: Renamed museumaccessionnumber to sourceaccessionnumber

517 01/17/2012 02:42 PM Aaron Marcuse-Kubitza

VegBIEN: Renamed authorcode to sourceid

516 01/17/2012 02:33 PM Aaron Marcuse-Kubitza

vegbien.sql: Updated sizeclass to use ranges for parameters and remove taxonarea

515 01/13/2012 05:25 PM Aaron Marcuse-Kubitza

input.Makefile: Fixed verify by making %.out: % rule use %.make instead

514 01/13/2012 05:24 PM Aaron Marcuse-Kubitza

input.Makefile: Moved verifications into one set of verify.* files

513 01/13/2012 05:18 PM Aaron Marcuse-Kubitza

input.Makefile: All tests are run in the same transaction, with output to test.out

512 01/13/2012 05:04 PM Aaron Marcuse-Kubitza

bin/map: Added support for processing multiple map_paths at once in the same transaction

511 01/13/2012 04:50 PM Aaron Marcuse-Kubitza

SALVIAS organisms mapping: Removed redundant PlotCode mapping because the association to plotevent is done with PlotID

510 01/13/2012 04:49 PM Aaron Marcuse-Kubitza

bin/map: Started adding support for multiple map_paths, all run in the same db transaction

509 01/13/2012 04:35 PM Aaron Marcuse-Kubitza

Filled in SALVIAS stems mappings. make test2's stems test fails because we don't wrap the import transaction around all the tests so that organisms are already in the database when stems are imported.

508 01/13/2012 04:28 PM Aaron Marcuse-Kubitza

mappings/Makefile: Corrected stemobservation to stem

507 01/13/2012 03:46 PM Aaron Marcuse-Kubitza

Use baseDistance/complexUserDefined/method to distinguish between different dbhs in VegX

506 01/13/2012 03:41 PM Aaron Marcuse-Kubitza

VegX mappings: Use baseDistance/value instead of baseDistance so we can later use complexUserDefined to distinguish between different types of dbh

505 01/13/2012 03:07 PM Aaron Marcuse-Kubitza

VegX-VegBIEN.organisms.csv: Added initial stems mappings

504 01/13/2012 03:06 PM Aaron Marcuse-Kubitza

mappings/Makefile: Updated VegX-VegBIEN.stems.csv input/output roots

503 01/13/2012 03:05 PM Aaron Marcuse-Kubitza

ch_root: Deal with roots followed by something other than \b

502 01/13/2012 02:41 PM Aaron Marcuse-Kubitza

input.Makefile: Remove *.out in new verify and test subdirs

501 01/13/2012 02:38 PM Aaron Marcuse-Kubitza

Moved inputs files into subdirs for maps, verify, and test operations

500 01/13/2012 02:00 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed taxondetermination.collector_id because that's now in specimen

499 01/13/2012 01:58 PM Aaron Marcuse-Kubitza

VegBIEN: Map to specimen.collector_id instead of taxondetermination

498 01/13/2012 01:27 PM Aaron Marcuse-Kubitza

vegbien.sql: Added specimen.collector_id column

497 01/13/2012 01:20 PM Aaron Marcuse-Kubitza

vegbien.sql: Changed taxondetermination.stem_id to individualplant_id

496 01/13/2012 01:16 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed taxondetermination columns that have been moved to specimen

495 01/13/2012 01:14 PM Aaron Marcuse-Kubitza

VegBIEN: Merged specimen.collectionnumber and catalognumber_dwc fields. Removed NOT NULL constraints on several specimen columns because not all specimens have all identifiers. Mapped to new specimen fields.

494 01/13/2012 12:59 PM Aaron Marcuse-Kubitza

VegX-VegBIEN mapping: Map collectiondate to specimen table

493 01/13/2012 12:55 PM Aaron Marcuse-Kubitza

vegbien.sql: Added specimen.collectionnumber and collectiondate fields

492 01/13/2012 12:50 PM Aaron Marcuse-Kubitza

Updated README.TXT to reflect new make targets

491 01/12/2012 01:18 PM Aaron Marcuse-Kubitza

vegbien.sql: Added sizeclass columns

490 01/12/2012 01:01 PM Aaron Marcuse-Kubitza

VegBIEN: Removed stem* prefix from stem measurements because it's redundant and because these same field names were reused in non-stem tables

489 01/12/2012 12:51 PM Aaron Marcuse-Kubitza

VegBIEN: Renamed stemobservation to stem

488 01/12/2012 12:49 PM Aaron Marcuse-Kubitza

vegbien.sql: Added comments to renamed tables specifying VegBank equivalent

487 01/12/2012 12:45 PM Aaron Marcuse-Kubitza

vegbien.sql: Added comments to new tables

486 01/12/2012 12:25 PM Aaron Marcuse-Kubitza

vegbien.sql: Removed r# prefix from foreign key constraints

485 01/12/2012 12:21 PM Aaron Marcuse-Kubitza

vegbien.sql: Added plot.namedplace_id for theplots which are identified by a namedplace rather than lat/long or name

484 01/12/2012 12:18 PM Aaron Marcuse-Kubitza

vegbien.sql: Made plot.authorcode optional as not all plots have names

483 01/12/2012 12:15 PM Aaron Marcuse-Kubitza

vegbien.sql: Added _dwc to specimen columns that are from DwC

482 01/12/2012 12:12 PM Aaron Marcuse-Kubitza

vegbien.sql: Added UNIQUE constraint for specimen table. Made catalognumber required so that all specimens can be uniquely identified.

481 01/12/2012 12:09 PM Aaron Marcuse-Kubitza

vegbien.sql: Made specimen.individualplant_id optional because specimens are not required to have a corresponding plot event (which all individualplants must have)

480 01/12/2012 12:05 PM Aaron Marcuse-Kubitza

VegBIEN-VegBank.csv: Updated to reflect renames

479 01/12/2012 12:02 PM Aaron Marcuse-Kubitza

vegbien.sql: Renamed specimen.code to collectioncode to match DwC term

478 01/12/2012 11:58 AM Aaron Marcuse-Kubitza

vegbien.sql: Added sizeclass table

477 01/12/2012 11:51 AM Aaron Marcuse-Kubitza

vegbien.sql: Renamed collection to specimen to reflect that it's for a single collection specimen

476 01/12/2012 11:45 AM Aaron Marcuse-Kubitza

VegBIEN: Renamed collectiveobservation to aggregateoccurrence to reflect VegX usage of aggregate and the new taxonoccurrence table

475 01/11/2012 02:47 PM Aaron Marcuse-Kubitza

VegBIEN: Renamed stemobservation.stemcode to authorcode

474 01/11/2012 02:43 PM Aaron Marcuse-Kubitza

vegbien.sql: Renamed individualplant.code to authorcode

473 01/11/2012 02:41 PM Aaron Marcuse-Kubitza

sql.py: Reordered get() args to match put()

472 01/11/2012 02:40 PM Aaron Marcuse-Kubitza

db_xml.py: Use new sql.put() which only eliminates duplicates based on database UNIQUE constraints

471 01/11/2012 02:38 PM Aaron Marcuse-Kubitza

sql.py: Added new function put() and changed get() to use it

470 01/11/2012 02:32 PM Aaron Marcuse-Kubitza

sql.py: Fixed raising of NullValueException to pass array of columns rather than single column

469 01/11/2012 02:25 PM Aaron Marcuse-Kubitza

vegbien.sql: Added UNIQUE constraints to tables used in the mapping so that duplicates are eliminated by the database

468 01/11/2012 02:23 PM Aaron Marcuse-Kubitza

sql.py: ExceptionWithColumn now stores multiple columns so that they can all be used in DuplicateKeyExceptions

467 01/11/2012 02:22 PM Aaron Marcuse-Kubitza

util.py: Fixed dict_subset() to work correctly when a key does not exist

466 01/11/2012 02:13 PM Aaron Marcuse-Kubitza

util.py: Added dict_subset()

465 01/11/2012 02:07 PM Aaron Marcuse-Kubitza

sql.py: Use constraint_cols() to determine DuplicateKeyException column in try_insert()

464 01/11/2012 01:50 PM Aaron Marcuse-Kubitza

sql.py: Added constraint_cols() to get columns of a constraint for use in determining the columns for a DuplicateKeyException

463 01/11/2012 11:59 AM Aaron Marcuse-Kubitza

db_xml.py: Map empty fields to None instead of ignoring them, to ensure that an existing row with a value in that field is not used in the duplicate elimination

462 01/11/2012 11:56 AM Aaron Marcuse-Kubitza

bin/map: Use db_xml.put()'s new on_error handler

461 01/11/2012 11:53 AM Aaron Marcuse-Kubitza

db_xml.py: put(): Added on_error handler. Reordered arguments according to how often they are likely to be used.

460 01/11/2012 11:31 AM Aaron Marcuse-Kubitza

bin/map: Print # input rows processed

459 01/10/2012 05:32 PM Aaron Marcuse-Kubitza

VegX-VegBIEN mapping: Merge different sources of plot elevation

458 01/10/2012 05:32 PM Aaron Marcuse-Kubitza

vegbien.sql: Added individualplant.code field

457 01/10/2012 05:10 PM Aaron Marcuse-Kubitza

xml_func.py: Expand XML funcs in XML func args

456 01/10/2012 05:06 PM Aaron Marcuse-Kubitza

xml_dom.py: In NodeTextEntryIter, return non-text children as-is instead of ignoring them so that XML functions can use them

455 01/10/2012 04:46 PM Aaron Marcuse-Kubitza

xml_dom.py: Improved readability by separating into sections

454 01/10/2012 04:41 PM Aaron Marcuse-Kubitza

db_xml.py: Ignore only fields that are actually empty (rather than just not having element children), as a field containing anything other than a comment should be flagged as invalid input

453 01/10/2012 04:41 PM Aaron Marcuse-Kubitza

xml_dom.py: Changed is_empty() to consider nodes with only comments to be empty

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

bin/map: Add input row to exceptions

451 01/10/2012 04:22 PM Aaron Marcuse-Kubitza

db_xml.py: Ignore empty fields. Fixes bug where a field that's not text but has no Element children will be treated as a table, and an error is triggered because the corresponding table does not exist in the database.

450 01/10/2012 04:19 PM Aaron Marcuse-Kubitza

xml_dom.py: Added has_elems() to check if node has Element children

449 01/10/2012 03:56 PM Aaron Marcuse-Kubitza

bin/map: Use xml_func.process()'s new on_error error handler. Add row to database errors and xml_func.SyntaxExceptions.

448 01/10/2012 03:54 PM Aaron Marcuse-Kubitza

xml_func.py: Changed formatting of comment that node with syntax errors is replaced with so that it starts on its own line

447 01/10/2012 03:50 PM Aaron Marcuse-Kubitza

xml_func.py: Use on_error exception handler to allow caller to print exceptions instead of raising them

446 01/10/2012 03:41 PM Aaron Marcuse-Kubitza

db_xml.py: Add node to any database exceptions generated in put()

445 01/10/2012 03:09 PM Aaron Marcuse-Kubitza

exc.py: Added raise_() wrapper for raise statement

444 01/10/2012 02:45 PM Aaron Marcuse-Kubitza

Ignore .~* (lock files generated by OpenOffice.org) in inputs

443 01/10/2012 02:44 PM Aaron Marcuse-Kubitza

inputs/SALVIAS: Added stems map

442 01/10/2012 02:43 PM Aaron Marcuse-Kubitza

bin/map: Handle empty rows for db output

441 01/10/2012 02:34 PM Aaron Marcuse-Kubitza

mappings: Use stemParent instead of stemOrganism to identify stems so that it's clear that the stemParent is an individualOrganismObservation, not an individualOrganism

440 01/10/2012 02:25 PM Aaron Marcuse-Kubitza

input.Makefile: Include VegX maps not in tablesSort

439 01/10/2012 02:13 PM Aaron Marcuse-Kubitza

mappings/Makefile: Generate initial VegX-VegBIEN.stems.csv

438 01/10/2012 01:36 PM Aaron Marcuse-Kubitza

mappings/Makefile: Cleaned up in preparation for adding rule to generate VegX-VegBIEN.stems.csv

437 01/10/2012 12:51 PM Aaron Marcuse-Kubitza

bin/map: Continue with database insertion even if a row had XML func syntax errors, because these errors have been fixed by removing the offending function node

436 01/10/2012 12:49 PM Aaron Marcuse-Kubitza

xml_func.py: Remove function nodes with syntax errors to prevent them from causing DatabaseErrors later

435 01/10/2012 12:48 PM Aaron Marcuse-Kubitza

xml_dom.py: Added remove() function to remove a node

434 01/10/2012 12:39 PM Aaron Marcuse-Kubitza

bin/map: Track Exceptions with ExTracker

433 01/10/2012 12:38 PM Aaron Marcuse-Kubitza

exc.py: Added ExTracker to track printed (suppressed) Exceptions and exit with nonzero status if any were encountered

432 01/10/2012 12:12 PM Aaron Marcuse-Kubitza

bin/map: Parse each output XPath at the beginning so XPath syntax errors are detected right away

431 01/10/2012 12:03 PM Aaron Marcuse-Kubitza

vegbien.sql: Reran renames to capture cases where a name is in the middle of an identifier

430 01/10/2012 11:47 AM Aaron Marcuse-Kubitza

vegbien.sql: Use character varying(255) instead of text or character varying in new tables and columns

429 01/10/2012 11:35 AM Aaron Marcuse-Kubitza

input.Makefile: Print Postgres NULL as NULL instead of empty string to match MySQL output

428 01/10/2012 11:26 AM Aaron Marcuse-Kubitza

VegX-VegBIEN mapping: Fixed syntax error in mapping

427 01/09/2012 05:30 PM Aaron Marcuse-Kubitza

vegbien.sql: Added trait table

426 01/09/2012 05:22 PM Aaron Marcuse-Kubitza

vegbien.sql: Added columns to stemobservation