Project

General

Profile

Activity

From 12/14/2011 to 01/12/2012

01/12/2012

01:18 PM Revision 491: vegbien.sql: Added sizeclass columns
Aaron Marcuse-Kubitza
01:01 PM Revision 490: VegBIEN: Removed stem* prefix from stem measurements because it's redundant and because these same field names were reused in non-stem tables
Aaron Marcuse-Kubitza
12:51 PM Revision 489: VegBIEN: Renamed stemobservation to stem
Aaron Marcuse-Kubitza
12:49 PM Revision 488: vegbien.sql: Added comments to renamed tables specifying VegBank equivalent
Aaron Marcuse-Kubitza
12:45 PM Revision 487: vegbien.sql: Added comments to new tables
Aaron Marcuse-Kubitza
12:25 PM Revision 486: vegbien.sql: Removed r# prefix from foreign key constraints
Aaron Marcuse-Kubitza
12:21 PM Revision 485: vegbien.sql: Added plot.namedplace_id for theplots which are identified by a namedplace rather than lat/long or name
Aaron Marcuse-Kubitza
12:18 PM Revision 484: vegbien.sql: Made plot.authorcode optional as not all plots have names
Aaron Marcuse-Kubitza
12:15 PM Revision 483: vegbien.sql: Added _dwc to specimen columns that are from DwC
Aaron Marcuse-Kubitza
12:12 PM Revision 482: vegbien.sql: Added UNIQUE constraint for specimen table. Made catalognumber required so that all specimens can be uniquely identified.
Aaron Marcuse-Kubitza
12:09 PM Revision 481: vegbien.sql: Made specimen.individualplant_id optional because specimens are not required to have a corresponding plot event (which all individualplants must have)
Aaron Marcuse-Kubitza
12:05 PM Revision 480: VegBIEN-VegBank.csv: Updated to reflect renames
Aaron Marcuse-Kubitza
12:02 PM Revision 479: vegbien.sql: Renamed specimen.code to collectioncode to match DwC term
Aaron Marcuse-Kubitza
11:58 AM Revision 478: vegbien.sql: Added sizeclass table
Aaron Marcuse-Kubitza
11:51 AM Revision 477: vegbien.sql: Renamed collection to specimen to reflect that it's for a single collection specimen
Aaron Marcuse-Kubitza
11:45 AM Revision 476: VegBIEN: Renamed collectiveobservation to aggregateoccurrence to reflect VegX usage of aggregate and the new taxonoccurrence table
Aaron Marcuse-Kubitza

01/11/2012

02:47 PM Revision 475: VegBIEN: Renamed stemobservation.stemcode to authorcode
Aaron Marcuse-Kubitza
02:43 PM Revision 474: vegbien.sql: Renamed individualplant.code to authorcode
Aaron Marcuse-Kubitza
02:41 PM Revision 473: sql.py: Reordered get() args to match put()
Aaron Marcuse-Kubitza
02:40 PM Revision 472: db_xml.py: Use new sql.put() which only eliminates duplicates based on database UNIQUE constraints
Aaron Marcuse-Kubitza
02:38 PM Revision 471: sql.py: Added new function put() and changed get() to use it
Aaron Marcuse-Kubitza
02:32 PM Revision 470: sql.py: Fixed raising of NullValueException to pass array of columns rather than single column
Aaron Marcuse-Kubitza
02:25 PM Revision 469: vegbien.sql: Added UNIQUE constraints to tables used in the mapping so that duplicates are eliminated by the database
Aaron Marcuse-Kubitza
02:23 PM Revision 468: sql.py: ExceptionWithColumn now stores multiple columns so that they can all be used in DuplicateKeyExceptions
Aaron Marcuse-Kubitza
02:22 PM Revision 467: util.py: Fixed dict_subset() to work correctly when a key does not exist
Aaron Marcuse-Kubitza
02:13 PM Revision 466: util.py: Added dict_subset()
Aaron Marcuse-Kubitza
02:07 PM Revision 465: sql.py: Use constraint_cols() to determine DuplicateKeyException column in try_insert()
Aaron Marcuse-Kubitza
01:50 PM Revision 464: sql.py: Added constraint_cols() to get columns of a constraint for use in determining the columns for a DuplicateKeyException
Aaron Marcuse-Kubitza
11:59 AM Revision 463: 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
Aaron Marcuse-Kubitza
11:56 AM Revision 462: bin/map: Use db_xml.put()'s new on_error handler
Aaron Marcuse-Kubitza
11:53 AM Revision 461: db_xml.py: put(): Added on_error handler. Reordered arguments according to how often they are likely to be used.
Aaron Marcuse-Kubitza
11:31 AM Revision 460: bin/map: Print # input rows processed
Aaron Marcuse-Kubitza

01/10/2012

05:32 PM Revision 459: VegX-VegBIEN mapping: Merge different sources of plot elevation
Aaron Marcuse-Kubitza
05:32 PM Revision 458: vegbien.sql: Added individualplant.code field
Aaron Marcuse-Kubitza
05:10 PM Revision 457: xml_func.py: Expand XML funcs in XML func args
Aaron Marcuse-Kubitza
05:06 PM Revision 456: xml_dom.py: In NodeTextEntryIter, return non-text children as-is instead of ignoring them so that XML functions can use them
Aaron Marcuse-Kubitza
04:46 PM Revision 455: xml_dom.py: Improved readability by separating into sections
Aaron Marcuse-Kubitza
04:41 PM Revision 454: 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
Aaron Marcuse-Kubitza
04:41 PM Revision 453: xml_dom.py: Changed is_empty() to consider nodes with only comments to be empty
Aaron Marcuse-Kubitza
04:23 PM Revision 452: bin/map: Add input row to exceptions
Aaron Marcuse-Kubitza
04:22 PM Revision 451: 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.
Aaron Marcuse-Kubitza
04:19 PM Revision 450: xml_dom.py: Added has_elems() to check if node has Element children
Aaron Marcuse-Kubitza
03:56 PM Revision 449: bin/map: Use xml_func.process()'s new on_error error handler. Add row to database errors and xml_func.SyntaxExceptions.
Aaron Marcuse-Kubitza
03:54 PM Revision 448: xml_func.py: Changed formatting of comment that node with syntax errors is replaced with so that it starts on its own line
Aaron Marcuse-Kubitza
03:50 PM Revision 447: xml_func.py: Use on_error exception handler to allow caller to print exceptions instead of raising them
Aaron Marcuse-Kubitza
03:41 PM Revision 446: db_xml.py: Add node to any database exceptions generated in put()
Aaron Marcuse-Kubitza
03:09 PM Revision 445: exc.py: Added raise_() wrapper for raise statement
Aaron Marcuse-Kubitza
02:45 PM Revision 444: Ignore .~* (lock files generated by OpenOffice.org) in inputs
Aaron Marcuse-Kubitza
02:44 PM Revision 443: inputs/SALVIAS: Added stems map
Aaron Marcuse-Kubitza
02:43 PM Revision 442: bin/map: Handle empty rows for db output
Aaron Marcuse-Kubitza
02:34 PM Revision 441: mappings: Use stemParent instead of stemOrganism to identify stems so that it's clear that the stemParent is an individualOrganismObservation, not an individualOrganism
Aaron Marcuse-Kubitza
02:25 PM Revision 440: input.Makefile: Include VegX maps not in tablesSort
Aaron Marcuse-Kubitza
02:13 PM Revision 439: mappings/Makefile: Generate initial VegX-VegBIEN.stems.csv
Aaron Marcuse-Kubitza
01:36 PM Revision 438: mappings/Makefile: Cleaned up in preparation for adding rule to generate VegX-VegBIEN.stems.csv
Aaron Marcuse-Kubitza
12:51 PM Revision 437: 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
Aaron Marcuse-Kubitza
12:49 PM Revision 436: xml_func.py: Remove function nodes with syntax errors to prevent them from causing DatabaseErrors later
Aaron Marcuse-Kubitza
12:48 PM Revision 435: xml_dom.py: Added remove() function to remove a node
Aaron Marcuse-Kubitza
12:39 PM Revision 434: bin/map: Track Exceptions with ExTracker
Aaron Marcuse-Kubitza
12:38 PM Revision 433: exc.py: Added ExTracker to track printed (suppressed) Exceptions and exit with nonzero status if any were encountered
Aaron Marcuse-Kubitza
12:12 PM Revision 432: bin/map: Parse each output XPath at the beginning so XPath syntax errors are detected right away
Aaron Marcuse-Kubitza
12:03 PM Revision 431: vegbien.sql: Reran renames to capture cases where a name is in the middle of an identifier
Aaron Marcuse-Kubitza
11:47 AM Revision 430: vegbien.sql: Use character varying(255) instead of text or character varying in new tables and columns
Aaron Marcuse-Kubitza
11:35 AM Revision 429: input.Makefile: Print Postgres NULL as NULL instead of empty string to match MySQL output
Aaron Marcuse-Kubitza
11:26 AM Revision 428: VegX-VegBIEN mapping: Fixed syntax error in mapping
Aaron Marcuse-Kubitza

01/09/2012

05:30 PM Revision 427: vegbien.sql: Added trait table
Aaron Marcuse-Kubitza
05:22 PM Revision 426: vegbien.sql: Added columns to stemobservation
Aaron Marcuse-Kubitza
05:13 PM Revision 425: vegbien.sql: Renamed collectiveobservation.stratum_id to taxonbin_id
Aaron Marcuse-Kubitza
04:51 PM Revision 424: vegbien.sql: Added some DarwinCore attributes to collection table
Aaron Marcuse-Kubitza
04:21 PM Revision 423: Makefiles: Added remake target to run clean and all
Aaron Marcuse-Kubitza
04:04 PM Revision 422: vegbien.sql: Added taxondetermination.collection_id column
Aaron Marcuse-Kubitza
03:56 PM Revision 421: VegBIEN: Made taxondetermination.plantname_id required
Aaron Marcuse-Kubitza
02:59 PM Revision 420: vegbien.sql: Made taxondetermination.plantconcept_id optional
Aaron Marcuse-Kubitza
02:49 PM Revision 419: VegBIEN: Renamed author*code to authorcode
Aaron Marcuse-Kubitza
02:47 PM Revision 418: Makefiles: Added empty rules for targets without a rule so that these rules wouldn't trigger the recursive subdir invocation for the default target
Aaron Marcuse-Kubitza
02:33 PM Revision 417: VegX-VegBIEN mapping: Convereted all database names to lowercase to correspond to their case in the database
Aaron Marcuse-Kubitza
02:04 PM Revision 416: Makefiles: Added empty Makefile target so that Makefiles are not included in the targets recursively run on subdirs
Aaron Marcuse-Kubitza
02:01 PM Revision 415: input.Makefile: Dependencies in other directories are included as prerequisistes. Use tablesSort variable instead of sort order prefix to order tables.
Aaron Marcuse-Kubitza
01:35 PM Revision 414: Makefile: Added default target that recursed into subdirs with Makefiles. Used default target for all and clean.
Aaron Marcuse-Kubitza
01:34 PM Revision 413: Regenerated inputs/SALVIAS/map.VegBIEN.0.plots.csv
Aaron Marcuse-Kubitza
01:32 PM Revision 412: Removed scripts symlink because it was causing Makefile recursion issues
Aaron Marcuse-Kubitza
01:28 PM Revision 411: Makefile: Take advantage of new inputs/Makefile
Aaron Marcuse-Kubitza
01:24 PM Revision 410: Added inputs/Makefile to run input targets recursively on each input
Aaron Marcuse-Kubitza
01:08 PM Revision 409: Makefile: Run inputs-* targets for all and clean
Aaron Marcuse-Kubitza
01:00 PM Revision 408: input.Makefile: all doesn't run import. import runs verify.
Aaron Marcuse-Kubitza
12:41 PM Revision 407: vegbien.sql: Set all FOREIGN KEY constraints to ON UPDATE CASCADE ON DELETE CASCADE
Aaron Marcuse-Kubitza
12:35 PM Revision 406: SALVIAS mappings: use PlotID as authorObsCode to link plot observations and organisms correctly for organisms without a PlotCode
Aaron Marcuse-Kubitza
12:32 PM Revision 405: SALVIAS mappings: use PlotID as authorObsCode to link plot observations and organisms correctly for organisms without a PlotCode
Aaron Marcuse-Kubitza
11:49 AM Revision 404: input.Makefile: Fixed bug in verify's diff rule
Aaron Marcuse-Kubitza
11:34 AM Revision 403: Added CTFS input
Aaron Marcuse-Kubitza

01/06/2012

05:01 PM Revision 402: Makefile: Generate error when trying to run subMake on a directory with no Makefile
Aaron Marcuse-Kubitza
04:37 PM Revision 401: input.Makefile: Tests use bin/map's new new test mode
Aaron Marcuse-Kubitza
04:37 PM Revision 400: bin/map: Added test mode that empties the database before doing anything
Aaron Marcuse-Kubitza
04:37 PM Revision 399: sql.py: Added functions to truncate tables, list all tables, and empty a database
Aaron Marcuse-Kubitza
04:35 PM Revision 398: Accepted new SALVIAS test outputs
Aaron Marcuse-Kubitza
03:38 PM Revision 397: Makefile: Print Finished message after running test2 (inputs tests)
Aaron Marcuse-Kubitza
03:38 PM Revision 396: Accepted test outputs for SALVIAS
Aaron Marcuse-Kubitza
03:37 PM Revision 395: input.Makefile: Added ability to accept a test output to use as the new reference output
Aaron Marcuse-Kubitza
03:01 PM Revision 394: vegbien db: Renamed all occurrences of interpretation to determination
Aaron Marcuse-Kubitza
02:56 PM Revision 393: Makefile: Tell make that subMake rules run make recursively
Aaron Marcuse-Kubitza
02:51 PM Revision 392: vegbien.sql: Updated collection table for recent refactorings
Aaron Marcuse-Kubitza
02:42 PM Revision 391: Made more of Bob Peet's changes to the vegbien db and updated VegX-VegBIEN mapping
Aaron Marcuse-Kubitza
02:32 PM Revision 390: Makefile: Fixed pattern for recursive invocation of subdirectory make
Aaron Marcuse-Kubitza
12:54 PM Revision 389: Moved mappings/schemas to schemas
Aaron Marcuse-Kubitza
12:50 PM Revision 388: Makefile: Changed all to make schemas and mappings instead of running install
Aaron Marcuse-Kubitza
12:34 PM Revision 387: Moved mappings/schemas to schemas
Aaron Marcuse-Kubitza
12:25 PM Revision 386: Makefile: Added inputs import target
Aaron Marcuse-Kubitza
12:24 PM Revision 385: input.Makefile: Fixed syntax error with use of import_cmd variable
Aaron Marcuse-Kubitza
12:19 PM Revision 384: vegbien.sql: Added collection table
Aaron Marcuse-Kubitza
12:18 PM Revision 383: Makefiles: Changed _not_file to _always because _not_file is sometimes used to force a file to always be remade
Aaron Marcuse-Kubitza

01/05/2012

04:48 PM Revision 382: Decoupled VegBIEN from VegBank and removed mappings to VegBank
Aaron Marcuse-Kubitza
04:30 PM Revision 381: Regenerate vegbien.sql by dumping the vegbien db
Aaron Marcuse-Kubitza
04:06 PM Revision 380: Regenerate vegbien.sql by dumping the vegbien db
Aaron Marcuse-Kubitza
04:05 PM Revision 379: psql_vegbien: Changed to use postgres_vegbien
Aaron Marcuse-Kubitza
04:03 PM Revision 378: Added postgres_vegbien to run PostgreSQL command on the vegbien db
Aaron Marcuse-Kubitza
03:26 PM Revision 377: SALVIAS verification: Added plot methods
Aaron Marcuse-Kubitza
01:19 PM Revision 376: SALVIAS verification: Added # plots
Aaron Marcuse-Kubitza
01:06 PM Revision 375: Makefile: Added targets to run input targets on all inputs
Aaron Marcuse-Kubitza
12:54 PM Revision 374: SALVIAS verification: Added projects list to examine why project counts differ
Aaron Marcuse-Kubitza
12:41 PM Revision 373: SALVIAS verification: Made statement-label SELECT statements use the same syntax for MySQL and PostgreSQL so they are easy to copy and paste between the input and output queries
Aaron Marcuse-Kubitza

01/04/2012

04:54 PM Revision 372: input.Makefile: Don't remove logs in clean
Aaron Marcuse-Kubitza
04:32 PM Revision 371: input.Makefile: Added support for multi-column verification queries. inputs/SALVIAS: Added a multi-column verification query.
Aaron Marcuse-Kubitza
03:47 PM Revision 370: input.Makefile: Remove all *.out in clean
Aaron Marcuse-Kubitza
02:59 PM Revision 369: inputs: Don't keep *.out under version control
Aaron Marcuse-Kubitza
02:35 PM Revision 368: input.Makefile: Added rules to verify inserted data and run tests
Aaron Marcuse-Kubitza
11:38 AM Revision 367: Regenerated inputs/SALVIAS/map.VegBIEN.1.organisms.csv
Aaron Marcuse-Kubitza
11:32 AM Revision 366: exc.py: Print ! before error messages so they can be found and counted more easily in log files
Aaron Marcuse-Kubitza
11:13 AM Revision 365: input.Makefile: Only output to log if importing all rows
Aaron Marcuse-Kubitza
10:46 AM Revision 364: Moved vegbien CREATE DATABASE command to Makefile and run vegbien.sql as bien user
Aaron Marcuse-Kubitza
10:27 AM Revision 363: Renamed vegbien tables according to Bob Peet's new VegBank-VegBIEN mapping
Aaron Marcuse-Kubitza
10:16 AM Revision 362: input.Makefile: Don't print commands that use set -x to be echoed
Aaron Marcuse-Kubitza
10:14 AM Revision 361: input.Makefile: Use system's time utility instead of shell's time command
Aaron Marcuse-Kubitza
10:09 AM Revision 360: sql.py: Include sql.DbException in DatabaseErrors list
Aaron Marcuse-Kubitza

01/03/2012

04:28 PM Revision 359: Generate VegX-VegBIEN.organisms.csv from VegBank-VegBIEN.map.csv, which is generated from VegBank-VegBIEN.map_only.csv
Aaron Marcuse-Kubitza
04:21 PM Revision 358: repl: Process whole file as one string so that regexps can match EOF for appending
Aaron Marcuse-Kubitza
04:21 PM Revision 357: mappings/Makefile: Clean *-VegBIEN.*.csv maps
Aaron Marcuse-Kubitza
04:08 PM Revision 356: Generate VegBank-VegBIEN.schema.csv from VegBank-VegBIEN.schema_only.csv and VegBank-VegBIEN.csv
Aaron Marcuse-Kubitza
04:06 PM Revision 355: Added cat_csv to concatenate two spreadsheets
Aaron Marcuse-Kubitza
03:34 PM Revision 354: Removed no longer needed inputs/SALVIAS/db.sh
Aaron Marcuse-Kubitza
03:24 PM Revision 353: Add sort order prefixes to inputs/SALVIAS maps
Aaron Marcuse-Kubitza
02:49 PM Revision 352: VegX-VegBank organisms mapping: Added collectionDate mapping
Aaron Marcuse-Kubitza
02:36 PM Revision 351: VegX-VegBank organisms mapping: Added collectionDate mapping
Aaron Marcuse-Kubitza
02:36 PM Revision 350: mappings/Makefile: Sort VegX-VegBank organisms mapping automatically when anything that depends on it is remade
Aaron Marcuse-Kubitza
02:34 PM Revision 349: Added in_place to run a stream command on a file
Aaron Marcuse-Kubitza
02:14 PM Revision 348: join_sort: Use /bin/sh instead of /bin/bash
Aaron Marcuse-Kubitza
01:44 PM Revision 347: NYBG-VegX mapping: Removed no longer needed global stem count value
Aaron Marcuse-Kubitza
01:42 PM Revision 346: Renamed test/accept_output to accept
Aaron Marcuse-Kubitza
01:40 PM Revision 345: VegX-VegBank.organisms.csv: Made stemCount default to 1
Aaron Marcuse-Kubitza
01:17 PM Revision 344: bin/map: Print DatabaseErrors without stack traces
Aaron Marcuse-Kubitza
01:13 PM Revision 343: exc.py: Added print_ex()
Aaron Marcuse-Kubitza
01:13 PM Revision 342: exc.py: Added print_ex()
Aaron Marcuse-Kubitza
01:13 PM Revision 341: util.py: Added type_name()
Aaron Marcuse-Kubitza
01:12 PM Revision 340: strings.py: Added ensure_newl()
Aaron Marcuse-Kubitza
11:42 AM Revision 339: input.Makefile: Save map output in log file
Aaron Marcuse-Kubitza
11:27 AM Revision 338: bin/map: Print usage message when run with no arguments
Aaron Marcuse-Kubitza
10:10 AM Revision 337: Makefile: Removed unnecessary commenting out of "allow from 127.0.0.0..." lines in /etc/phppgadmin/apache.conf
Aaron Marcuse-Kubitza

12/29/2011

05:35 PM Revision 336: Makefile: Use --loose-exit-status for ed to avoid failing on no match. In editPhppgadminApacheConf, use ,s/// instead of /.../\ns/// to match lines regardless of position.
Aaron Marcuse-Kubitza
05:17 PM Revision 335: Makefile: Use tee instead of ed in sudoAppend. Don't change apache port to 8080 if apache already running on 80.
Aaron Marcuse-Kubitza
04:54 PM Revision 334: Makefile: Added phppgadmin apache config
Aaron Marcuse-Kubitza
01:16 PM Revision 333: bin/map: Only treat DatabaseErrors as warnings, not all Exceptions
Aaron Marcuse-Kubitza
01:04 PM Revision 332: xml_func.py: Print newline before func XML because XML is now pretty-printed with indents
Aaron Marcuse-Kubitza
12:59 PM Revision 331: xml_dom.py: Node.__str__() uses toprettyxml() instead of toxml()
Aaron Marcuse-Kubitza
12:58 PM Revision 330: util.py: Changed rename_key() not to suppress KeyError, since some callers might want to assert that a key exists
Aaron Marcuse-Kubitza
12:44 PM Revision 329: Makefile: Added phpPgAdmin dependency
Aaron Marcuse-Kubitza
12:42 PM Revision 328: xml_func.py: _name func doesn't require all name parts to be set. _namePart func throws SyntaxException for invalid name parts.
Aaron Marcuse-Kubitza

12/28/2011

02:03 PM Revision 327: bin/map: Fixed syntax error where db variable had not been renamed to out_db
Aaron Marcuse-Kubitza
01:58 PM Revision 326: xml_func.py: Generate SyntaxExceptions on missing XML func args
Aaron Marcuse-Kubitza
01:46 PM Revision 325: VegX-VegBank mapping: Added default soilObs.soilHorizon value
Aaron Marcuse-Kubitza
01:33 PM Revision 324: xml_func.py: Changed _date func to try parsing date field, rather than year field, as a decimal. Changed SALVIAS mappings to use new _date func syntax. Fixes SALVIAS plots data syntax error for decimal years.
Aaron Marcuse-Kubitza
01:10 PM Revision 323: Removed no longer needed VegBank accepted test outputs
Aaron Marcuse-Kubitza
01:09 PM Revision 322: test/map: Abort tester on failed diff
Aaron Marcuse-Kubitza
01:09 PM Revision 321: Added accepted test output SALVIAS_db.organisms.VegBIEN.xml
Aaron Marcuse-Kubitza
01:04 PM Revision 320: SALVIAS organisms mapping: Use _alt to merge tag1 and tag2. Fixes failing diff due to duplicate stemCodes.
Aaron Marcuse-Kubitza
12:49 PM Revision 319: test/map: Added tests to insert VegBIEN XML into VegBIEN db
Aaron Marcuse-Kubitza
12:47 PM Revision 318: bin/map: Fixed non-map input to set out_label
Aaron Marcuse-Kubitza
12:12 PM Revision 317: bin/map: Fixed row processing when no map is used
Aaron Marcuse-Kubitza
12:06 PM Revision 316: bin/map: Refactored to process each row separately when out_is_db
Aaron Marcuse-Kubitza
12:04 PM Revision 315: xml_dom.py: Added Node pop() and clear() methods
Aaron Marcuse-Kubitza
11:15 AM Revision 314: bin/map: Moved process_rows() exception handling around entire row, rather than each value, so that a broken value will not be ignored only to cause errors when outputing the row
Aaron Marcuse-Kubitza
11:12 AM Revision 313: bin/map: Moved process_rows() exception handling around entire row, rather than each value, so that a broken value will not be ignored only to cause errors when outputing the row
Aaron Marcuse-Kubitza
11:05 AM Revision 312: db_xml.py: Removed no longer needed xml2db()
Aaron Marcuse-Kubitza
11:04 AM Revision 311: bin/map: out_is_db uses use_row instead of xml2db()
Aaron Marcuse-Kubitza
10:53 AM Revision 310: bin/map: Added commit and exception-handling code to out_is_db use_row()
Aaron Marcuse-Kubitza
10:42 AM Revision 309: bin/map: Merged get_xml() into process_xml(). Renamed process*() functions to distinguish them better.
Aaron Marcuse-Kubitza
10:33 AM Revision 308: bin/map: Create separate document for printing XML opening and closing
Aaron Marcuse-Kubitza
10:28 AM Revision 307: bin/map: Refactored to print document opening, contents, and closing in separate steps so they can be separated later
Aaron Marcuse-Kubitza
10:27 AM Revision 306: xml_dom.py: Added support for integer indents
Aaron Marcuse-Kubitza
10:19 AM Revision 305: xml_dom.py: Added NodeIter() and Node.__iter__()
Aaron Marcuse-Kubitza
10:05 AM Revision 304: Use new xml_dom.prettyxml_config instead of Node.writeprettyxml because it can be passed as keyword args to any writexml function
Aaron Marcuse-Kubitza
10:00 AM Revision 303: xml_dom.py: Removed no longer needed xml_dom.writexml()
Aaron Marcuse-Kubitza
10:00 AM Revision 302: bin/map: Use Node.writeprettyxml() instead of xml_dom.writexml()
Aaron Marcuse-Kubitza
09:57 AM Revision 301: xml_dom.py: Added minidom.Document write_opening() and write_closing() methods. Changed writexml(writer, node) to use new Node.writeprettyxml() method.
Aaron Marcuse-Kubitza
09:28 AM Revision 300: Renamed ex.py to exc.py
Aaron Marcuse-Kubitza
09:24 AM Revision 299: Import xml.dom.minidom as minidom
Aaron Marcuse-Kubitza
09:10 AM Revision 298: xml_dom.py: Refactored xml.dom.minidom.Element.writexml() to use new write_opening() and write_closing() methods. Use new functions is_elem() and is_text_node() to determine node type. Corrected definition of a text element to be an element that contains a single text node.
Aaron Marcuse-Kubitza
08:37 AM Revision 297: bin/map: Factored out input processing code
Aaron Marcuse-Kubitza

12/23/2011

04:03 PM Revision 296: Commit after inserting each row
Aaron Marcuse-Kubitza
03:59 PM Revision 295: Commit after inserting each row
Aaron Marcuse-Kubitza
03:54 PM Revision 294: Use traceback.print_exc() to print Exceptions for each row instead of exiting
Aaron Marcuse-Kubitza
03:26 PM Revision 293: env_password: Allow user to change saved password
Aaron Marcuse-Kubitza
03:14 PM Revision 292: env_password: Don't print instructions for storing password for the session if called *to* store password for the session
Aaron Marcuse-Kubitza
03:00 PM Revision 291: env_password: Print absolute path to env_password in case invoking script changed the working directory
Aaron Marcuse-Kubitza
02:57 PM Revision 290: env_password: Print instructions for storing password for the session
Aaron Marcuse-Kubitza
02:32 PM Revision 289: Updated SALVIAS plots mappings and corresponding VegX-VegBank mappings to parse date_start and date_finish
Aaron Marcuse-Kubitza
02:11 PM Revision 288: xml_func.py: Print XML of XML functions with SyntaxExceptions
Aaron Marcuse-Kubitza
02:08 PM Revision 287: xml_func.py: Added support for parsing dates
Aaron Marcuse-Kubitza
01:56 PM Revision 286: ex.py: repl_msg(): take replacements as keyword args
Aaron Marcuse-Kubitza
01:44 PM Revision 285: fix_permissions: Also change user to bien
Aaron Marcuse-Kubitza
01:31 PM Revision 284: Makefile: Added python-dateutil dependency
Aaron Marcuse-Kubitza
12:57 PM Revision 283: input.Makefile: Renamed from_db-<map_file> target to import-<type> so it can be more easily run as a command-line target rather than just a prerequisite
Aaron Marcuse-Kubitza
12:40 PM Revision 282: Added inputs/SALVIAS organisms map
Aaron Marcuse-Kubitza

12/22/2011

08:30 PM Revision 281: map: Print xml_func.SyntaxExceptions without stack traces by using SystemExit
Aaron Marcuse-Kubitza
08:22 PM Revision 280: xml_func.py: Add function name to SyntaxException message
Aaron Marcuse-Kubitza
08:22 PM Revision 279: ex.py: Added repl_msg() to format a message with the % operator
Aaron Marcuse-Kubitza
07:48 PM Revision 278: xml_func.py: Return string->number conversion errors as xml_func.SyntaxExceptions
Aaron Marcuse-Kubitza
07:29 PM Revision 277: psql_vegbien: Fixed comment to vegbien instead of vegbank
Aaron Marcuse-Kubitza
07:11 PM Revision 276: psql_vegbien: Use new location of bien_password
Aaron Marcuse-Kubitza
07:05 PM Revision 275: Makefile: Fixed paths to mappings dir for new scripts dir location
Aaron Marcuse-Kubitza
07:02 PM Revision 274: Renamed util to bin
Aaron Marcuse-Kubitza
06:59 PM Revision 273: Moved inputs_Makefile to inputs/input.Makefile
Aaron Marcuse-Kubitza
06:55 PM Revision 272: Moved bien_password to new config dir
Aaron Marcuse-Kubitza
06:52 PM Revision 271: Moved sample inputs to test dir
Aaron Marcuse-Kubitza
06:42 PM Revision 270: Added symlink from scripts to new scripts destination
Aaron Marcuse-Kubitza
06:40 PM Revision 269: Removed now-empty scripts dir
Aaron Marcuse-Kubitza
06:39 PM Revision 268: Moved everything in scripts to root. inputs_Makefile: Don't run "all" when installing.
Aaron Marcuse-Kubitza
06:24 PM Revision 267: Renamed bien_map to map
Aaron Marcuse-Kubitza
06:22 PM Revision 266: Moved map to util
Aaron Marcuse-Kubitza
06:14 PM Revision 265: fix_permissions: Don't chmod symlinks
Aaron Marcuse-Kubitza
06:00 PM Revision 264: inputs_Makefile: Auto-generate map to VegBIEN and import data into vegbien from input DB
Aaron Marcuse-Kubitza
05:59 PM Revision 263: inputs/SALVIAS: maps to VegX and VegBIEN
Aaron Marcuse-Kubitza
05:58 PM Revision 262: bien_map: Runs map with BIEN defaults
Aaron Marcuse-Kubitza
05:56 PM Revision 261: join_sort: Sorts a join on the output col
Aaron Marcuse-Kubitza
03:20 PM Revision 260: inputs_Makefile: Require dbEngine var instead of defaulting to MySQL
Aaron Marcuse-Kubitza
02:22 PM Revision 259: Moved inputs into svn
Aaron Marcuse-Kubitza
01:46 PM Revision 258: Moved pre-BIEN 3 files into _archive folder
Aaron Marcuse-Kubitza
01:46 PM Revision 257: test/map: Use db.sh syntax in *.sh tests
Aaron Marcuse-Kubitza
01:45 PM Revision 256: inputs_Makefile: Generate db.sh with DB access info
Aaron Marcuse-Kubitza
12:59 PM Revision 255: inputs_Makefile: Changed GRANT ALL to GRANT SELECT. Added REVOKE ALL. Added $(db).sql as prerequisite of install in case it needs to be auto-generated.
Aaron Marcuse-Kubitza
12:30 PM Revision 254: scripts/Makefile: Added action for postgres-Darwin target
Aaron Marcuse-Kubitza
12:11 PM Revision 253: scripts/Makefile: Added postgresql to postgres-Linux apt-get packages
Aaron Marcuse-Kubitza

12/21/2011

08:23 PM Revision 252: test/map: Changed to work on both nimoy and vegbiendev by selecting the appropriate MySQL user and password
Aaron Marcuse-Kubitza
08:22 PM Revision 251: env_password: Added optional message arg
Aaron Marcuse-Kubitza
07:47 PM Revision 250: Added uninstallation of inputs to Makefiles
Aaron Marcuse-Kubitza
07:15 PM Revision 249: scripts/Makefile: Create bien user w/o prompting for password. Fixed syntax error.
Aaron Marcuse-Kubitza
07:06 PM Revision 248: scripts/Makefile: Fixed syntax error
Aaron Marcuse-Kubitza
07:03 PM Revision 247: Inputs now include inputs_Makefile to get mysql command, etc.
Aaron Marcuse-Kubitza
06:30 PM Revision 246: scripts/Makefile: Use bien MySQL user for installing inputs
Aaron Marcuse-Kubitza
06:26 PM Revision 245: scripts/Makefile: Use root MySQL user for creating bien user
Aaron Marcuse-Kubitza
05:53 PM Revision 244: scripts/Makefile: Don't use root as MySQL admin user. Removed no-longer-needed sub-makes for setting DB login vars.
Aaron Marcuse-Kubitza
05:10 PM Revision 243: Changed vegbien_dest and users of it to use separate bien_password file
Aaron Marcuse-Kubitza
04:55 PM Revision 242: fix_permissions: Extend all user permissions to group
Aaron Marcuse-Kubitza
04:26 PM Revision 241: scripts/Makefile: Added inputs
Aaron Marcuse-Kubitza
03:24 PM Revision 240: mappings/Makefile: Cleaned up
Aaron Marcuse-Kubitza
03:02 PM Revision 239: fix_permissions: Don't add group write perms to read-only files
Aaron Marcuse-Kubitza
01:54 PM Revision 238: scripts/Makefile: Made read command syntax compatible with /bin/sh
Aaron Marcuse-Kubitza
01:37 PM Revision 237: scripts/Makefile: Ignore errors about missing packages
Aaron Marcuse-Kubitza
01:30 PM Revision 236: scripts/Makefile: Fixed escape character for /bin/sh
Aaron Marcuse-Kubitza
01:25 PM Revision 235: scripts/Makefile: Added dependency installation. Makefiles: Use _not_file instead of FORCE for clarity. Use $(os) var
Aaron Marcuse-Kubitza

12/20/2011

07:52 PM Revision 234: fix_permissions: Configured output verbosity
Aaron Marcuse-Kubitza
07:44 PM Revision 233: Added fix_permissions to set correct permissions on shared bien files
Aaron Marcuse-Kubitza
07:31 PM Revision 232: Removed VegBank scripts which are no longer needed
Aaron Marcuse-Kubitza
07:30 PM Revision 231: Removed VegBank scripts which are no longer needed
Aaron Marcuse-Kubitza
06:55 PM Revision 230: Renamed vegbien_dest.sh to vegbien_dest to reflect that it is also includable by Makefiles
Aaron Marcuse-Kubitza
06:52 PM Revision 229: DB user creation: Clarified instructions
Aaron Marcuse-Kubitza
06:51 PM Revision 228: scripts/Makefile includes vegbien_dest.sh directly
Aaron Marcuse-Kubitza
06:28 PM Revision 227: Moved db user creation to scripts/Makefile. Removed now-unneeded admin scripts.
Aaron Marcuse-Kubitza
06:12 PM Revision 226: Removed VegBank scripts which are no longer needed
Aaron Marcuse-Kubitza
06:11 PM Revision 225: scripts/Makefile: Added empty_db target which uses vegbien_empty.sql
Aaron Marcuse-Kubitza
05:55 PM Revision 224: mappings/Makefile: Fixed bug where var containing prerequisistes needed to be defined before used. Added support for different sed flags to use extended regular expressions.
Aaron Marcuse-Kubitza
05:42 PM Revision 223: Added auto-generated vegbien_empty.sql to empty the vegbien db
Aaron Marcuse-Kubitza
04:55 PM Revision 222: Test output to VegBIEN instead of VegBank
Aaron Marcuse-Kubitza
04:54 PM Revision 221: VegX-VegBIEN.organisms.csv: sort output of repl
Aaron Marcuse-Kubitza
04:46 PM Revision 220: review: Added nullglob
Aaron Marcuse-Kubitza
04:44 PM Revision 219: review: Don't process replacements spreadsheets
Aaron Marcuse-Kubitza
04:44 PM Revision 218: Moved schema replacements from VegBank-VegBIEN.csv to VegBank-VegBIEN.schema.csv
Aaron Marcuse-Kubitza
04:32 PM Revision 217: VegBank-VegBIEN.csv: Support PostgreSQL before 8.4
Aaron Marcuse-Kubitza
04:29 PM Revision 216: repl: Added support for blank lines. Only add whole word regexp code to inputs w/o *any* regexp metachars.
Aaron Marcuse-Kubitza
04:13 PM Revision 215: Create vegbien db from mappings/schemas/vegbien.sql
Aaron Marcuse-Kubitza
04:12 PM Revision 214: VegBank-VegBIEN.csv: Added replacements for SQL create script conversion
Aaron Marcuse-Kubitza
03:56 PM Revision 213: Generate vegbien db create SQL from vegbank.sql using repl
Aaron Marcuse-Kubitza
03:55 PM Revision 212: Generate vegbien db create SQL from vegbank.sql using repl
Aaron Marcuse-Kubitza
03:54 PM Revision 211: repl: Fixed bug in reading arguments
Aaron Marcuse-Kubitza
03:38 PM Revision 210: repl: Don't add whole-word regexp for inputs that already have regexp metachars
Aaron Marcuse-Kubitza
03:26 PM Revision 209: Removed mappings/VegBank-VegBIEN.organisms.csv because now using replacements spreadsheet
Aaron Marcuse-Kubitza
03:24 PM Revision 208: mappings: Generate mappings to VegBIEN using VegBank-VegBIEN.cs replacements spreadsheet
Aaron Marcuse-Kubitza
03:23 PM Revision 207: mappings: Generate mappings to VegBIEN using VegBank-VegBIEN.cs replacements spreadsheet
Aaron Marcuse-Kubitza
03:23 PM Revision 206: mappings: Generate mappings to VegBIEN using VegBank-VegBIEN.cs replacements spreadsheet
Aaron Marcuse-Kubitza
02:57 PM Revision 205: Added repl to perform replacements on a spreadsheet or file
Aaron Marcuse-Kubitza
01:38 PM Revision 204: scripts/Makefile: removed extra test-% target
Aaron Marcuse-Kubitza
01:38 PM Revision 203: README.TXT: Updated
Aaron Marcuse-Kubitza
01:36 PM Revision 202: scripts/Makefile: install/uninstall targets
Aaron Marcuse-Kubitza
01:36 PM Revision 201: bien_user_create: Print instructions in sequence with password prompts
Aaron Marcuse-Kubitza

12/19/2011

06:16 PM Revision 200: mappings to VegBIEN: Accounted for remaining ALTER TABLE statements
Aaron Marcuse-Kubitza
05:48 PM Revision 199: Renamed format*_for_review to review and added for_review to make clean
Aaron Marcuse-Kubitza
05:41 PM Revision 198: mappings: Added mappings to VegBIEN
Aaron Marcuse-Kubitza
05:25 PM Revision 197: mappings/Makefile: Simplified
Aaron Marcuse-Kubitza
05:22 PM Revision 196: mappings/Makefile: Simplified
Aaron Marcuse-Kubitza
04:59 PM Revision 195: README.TXT: Updated
Aaron Marcuse-Kubitza
04:47 PM Revision 194: Added vegbien DB admin scripts
Aaron Marcuse-Kubitza

12/16/2011

03:54 PM Revision 193: join_all_vegbank: Sort output by both columns
Aaron Marcuse-Kubitza
03:48 PM Revision 192: mappings/VegX-VegBank.organisms.csv: Sorted by both columns
Aaron Marcuse-Kubitza
03:48 PM Revision 191: mappings/Makefile: Sort VegBank-VegBIEN.organisms.csv by both columns
Aaron Marcuse-Kubitza
03:47 PM Revision 190: extract_plot_map: Removed because functionality now in Makefile
Aaron Marcuse-Kubitza
03:46 PM Revision 189: sort: Can sort on multiple columns
Aaron Marcuse-Kubitza
03:17 PM Revision 188: Added basic VegX-VegBIEN mapping
Aaron Marcuse-Kubitza
02:02 PM Revision 187: Added union and join_passthru
Aaron Marcuse-Kubitza
02:02 PM Revision 186: env_password: Print Usage message to stderr
Aaron Marcuse-Kubitza
01:29 PM Revision 185: test/map: Create output dir if it doesn't exist
Aaron Marcuse-Kubitza
01:24 PM Revision 184: Converted scripts back to bash that required bash-specific features
Aaron Marcuse-Kubitza
01:23 PM Revision 183: Converted scripts back to bash that required bash-specific features
Aaron Marcuse-Kubitza
01:13 PM Revision 182: Fixed test/map to work with sh
Aaron Marcuse-Kubitza
01:05 PM Revision 181: Replaced /bin/bash with /bin/sh
Aaron Marcuse-Kubitza

12/15/2011

04:16 PM Revision 180: join: Added usage item for repeated joins
Aaron Marcuse-Kubitza
04:13 PM Revision 179: join: Changed order of args and redirects to be more intuitive
Aaron Marcuse-Kubitza
04:09 PM Revision 178: Renamed ch_map_root to ch_root
Aaron Marcuse-Kubitza
04:08 PM Revision 177: Renamed join_maps to join
Aaron Marcuse-Kubitza
12:20 PM Revision 176: Merged test Makefile into main scripts Makefile
Aaron Marcuse-Kubitza
12:05 PM Revision 175: test/map: Turn off test mode (don't run diff) when env var n (for # rows) is set
Aaron Marcuse-Kubitza
11:39 AM Revision 174: Added SALVIAS DB mapping for plots data
Aaron Marcuse-Kubitza
11:37 AM Revision 173: VegX-VegBank mapping: Fixed VegBank XPath for commName.commName field
Aaron Marcuse-Kubitza
11:35 AM Revision 172: db_xml.py: Use pointer target's name as pointer type where possible. Emphasize that pointer type determined from the pointer name itself is a guess based on common database conventions.
Aaron Marcuse-Kubitza
11:31 AM Revision 171: xpath.py: Changed backward (child-to-parent) pointer ID abbr expansion to happen in get() when source node's tag name is known. This deals with XPath elements that are '.' being used as a pointer source.
Aaron Marcuse-Kubitza

12/14/2011

05:31 PM Revision 170: xpath.py: Moved abbr expansion code to separate function
Aaron Marcuse-Kubitza
04:41 PM Revision 169: test/map: Process all tables for a given DB (.sh) input
Aaron Marcuse-Kubitza
03:26 PM Revision 168: Removed /'s from DB input mappings
Aaron Marcuse-Kubitza
01:46 PM Revision 167: map: Use row's index instead of pkey as ID in XML output
Aaron Marcuse-Kubitza
01:45 PM Revision 166: test/map: Compare via-VegX output to direct output
Aaron Marcuse-Kubitza
01:13 PM Revision 165: xpath.py: Changed order that main and other branches are processed in so it is consistent with the order the branches are specified in the XPath
Aaron Marcuse-Kubitza
12:03 PM Revision 164: map: Handle metadata in order with regular mappings
Aaron Marcuse-Kubitza
11:33 AM Revision 163: Accepted VegBank test output for new CSV mapping order
Aaron Marcuse-Kubitza
11:26 AM Revision 162: map: Changed CSV input to process mappings in the order they are in the spreadsheet, rather than the order of the CSV columns
Aaron Marcuse-Kubitza
 

Also available in: Atom