Project

General

Profile

Statistics
| Revision:

# Date Author Comment
379 01/05/2012 04:05 PM Aaron Marcuse-Kubitza

psql_vegbien: Changed to use postgres_vegbien

378 01/05/2012 04:03 PM Aaron Marcuse-Kubitza

Added postgres_vegbien to run PostgreSQL command on the vegbien db

377 01/05/2012 03:26 PM Aaron Marcuse-Kubitza

SALVIAS verification: Added plot methods

376 01/05/2012 01:19 PM Aaron Marcuse-Kubitza

SALVIAS verification: Added # plots

375 01/05/2012 01:06 PM Aaron Marcuse-Kubitza

Makefile: Added targets to run input targets on all inputs

374 01/05/2012 12:54 PM Aaron Marcuse-Kubitza

SALVIAS verification: Added projects list to examine why project counts differ

373 01/05/2012 12:41 PM Aaron Marcuse-Kubitza

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

372 01/04/2012 04:54 PM Aaron Marcuse-Kubitza

input.Makefile: Don't remove logs in clean

371 01/04/2012 04:32 PM Aaron Marcuse-Kubitza

input.Makefile: Added support for multi-column verification queries. inputs/SALVIAS: Added a multi-column verification query.

370 01/04/2012 03:47 PM Aaron Marcuse-Kubitza

input.Makefile: Remove all *.out in clean

369 01/04/2012 02:59 PM Aaron Marcuse-Kubitza

inputs: Don't keep *.out under version control

368 01/04/2012 02:35 PM Aaron Marcuse-Kubitza

input.Makefile: Added rules to verify inserted data and run tests

367 01/04/2012 11:38 AM Aaron Marcuse-Kubitza

Regenerated inputs/SALVIAS/map.VegBIEN.1.organisms.csv

366 01/04/2012 11:32 AM Aaron Marcuse-Kubitza

exc.py: Print ! before error messages so they can be found and counted more easily in log files

365 01/04/2012 11:13 AM Aaron Marcuse-Kubitza

input.Makefile: Only output to log if importing all rows

364 01/04/2012 10:46 AM Aaron Marcuse-Kubitza

Moved vegbien CREATE DATABASE command to Makefile and run vegbien.sql as bien user

363 01/04/2012 10:27 AM Aaron Marcuse-Kubitza

Renamed vegbien tables according to Bob Peet's new VegBank-VegBIEN mapping

362 01/04/2012 10:16 AM Aaron Marcuse-Kubitza

input.Makefile: Don't print commands that use set -x to be echoed

361 01/04/2012 10:14 AM Aaron Marcuse-Kubitza

input.Makefile: Use system's time utility instead of shell's time command

360 01/04/2012 10:09 AM Aaron Marcuse-Kubitza

sql.py: Include sql.DbException in DatabaseErrors list

359 01/03/2012 04:28 PM Aaron Marcuse-Kubitza

Generate VegX-VegBIEN.organisms.csv from VegBank-VegBIEN.map.csv, which is generated from VegBank-VegBIEN.map_only.csv

358 01/03/2012 04:21 PM Aaron Marcuse-Kubitza

repl: Process whole file as one string so that regexps can match EOF for appending

357 01/03/2012 04:21 PM Aaron Marcuse-Kubitza

mappings/Makefile: Clean -VegBIEN..csv maps

356 01/03/2012 04:08 PM Aaron Marcuse-Kubitza

Generate VegBank-VegBIEN.schema.csv from VegBank-VegBIEN.schema_only.csv and VegBank-VegBIEN.csv

355 01/03/2012 04:06 PM Aaron Marcuse-Kubitza

Added cat_csv to concatenate two spreadsheets

354 01/03/2012 03:34 PM Aaron Marcuse-Kubitza

Removed no longer needed inputs/SALVIAS/db.sh

353 01/03/2012 03:24 PM Aaron Marcuse-Kubitza

Add sort order prefixes to inputs/SALVIAS maps

352 01/03/2012 02:49 PM Aaron Marcuse-Kubitza

VegX-VegBank organisms mapping: Added collectionDate mapping

351 01/03/2012 02:36 PM Aaron Marcuse-Kubitza

VegX-VegBank organisms mapping: Added collectionDate mapping

350 01/03/2012 02:36 PM Aaron Marcuse-Kubitza

mappings/Makefile: Sort VegX-VegBank organisms mapping automatically when anything that depends on it is remade

349 01/03/2012 02:34 PM Aaron Marcuse-Kubitza

Added in_place to run a stream command on a file

348 01/03/2012 02:14 PM Aaron Marcuse-Kubitza

join_sort: Use /bin/sh instead of /bin/bash

347 01/03/2012 01:44 PM Aaron Marcuse-Kubitza

NYBG-VegX mapping: Removed no longer needed global stem count value

346 01/03/2012 01:42 PM Aaron Marcuse-Kubitza

Renamed test/accept_output to accept

345 01/03/2012 01:40 PM Aaron Marcuse-Kubitza

VegX-VegBank.organisms.csv: Made stemCount default to 1

344 01/03/2012 01:17 PM Aaron Marcuse-Kubitza

bin/map: Print DatabaseErrors without stack traces

343 01/03/2012 01:13 PM Aaron Marcuse-Kubitza

exc.py: Added print_ex()

342 01/03/2012 01:13 PM Aaron Marcuse-Kubitza

exc.py: Added print_ex()

341 01/03/2012 01:13 PM Aaron Marcuse-Kubitza

util.py: Added type_name()

340 01/03/2012 01:12 PM Aaron Marcuse-Kubitza

strings.py: Added ensure_newl()

339 01/03/2012 11:42 AM Aaron Marcuse-Kubitza

input.Makefile: Save map output in log file

338 01/03/2012 11:27 AM Aaron Marcuse-Kubitza

bin/map: Print usage message when run with no arguments

337 01/03/2012 10:10 AM Aaron Marcuse-Kubitza

Makefile: Removed unnecessary commenting out of "allow from 127.0.0.0..." lines in /etc/phppgadmin/apache.conf

336 12/29/2011 05:35 PM Aaron Marcuse-Kubitza

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.

335 12/29/2011 05:17 PM Aaron Marcuse-Kubitza

Makefile: Use tee instead of ed in sudoAppend. Don't change apache port to 8080 if apache already running on 80.

334 12/29/2011 04:54 PM Aaron Marcuse-Kubitza

Makefile: Added phppgadmin apache config

333 12/29/2011 01:16 PM Aaron Marcuse-Kubitza

bin/map: Only treat DatabaseErrors as warnings, not all Exceptions

332 12/29/2011 01:04 PM Aaron Marcuse-Kubitza

xml_func.py: Print newline before func XML because XML is now pretty-printed with indents

331 12/29/2011 12:59 PM Aaron Marcuse-Kubitza

xml_dom.py: Node.__str__() uses toprettyxml() instead of toxml()

330 12/29/2011 12:58 PM Aaron Marcuse-Kubitza

util.py: Changed rename_key() not to suppress KeyError, since some callers might want to assert that a key exists

329 12/29/2011 12:44 PM Aaron Marcuse-Kubitza

Makefile: Added phpPgAdmin dependency

328 12/29/2011 12:42 PM Aaron Marcuse-Kubitza

xml_func.py: _name func doesn't require all name parts to be set. _namePart func throws SyntaxException for invalid name parts.

327 12/28/2011 02:03 PM Aaron Marcuse-Kubitza

bin/map: Fixed syntax error where db variable had not been renamed to out_db

326 12/28/2011 01:58 PM Aaron Marcuse-Kubitza

xml_func.py: Generate SyntaxExceptions on missing XML func args

325 12/28/2011 01:46 PM Aaron Marcuse-Kubitza

VegX-VegBank mapping: Added default soilObs.soilHorizon value

324 12/28/2011 01:33 PM Aaron Marcuse-Kubitza

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.

323 12/28/2011 01:10 PM Aaron Marcuse-Kubitza

Removed no longer needed VegBank accepted test outputs

322 12/28/2011 01:09 PM Aaron Marcuse-Kubitza

test/map: Abort tester on failed diff

321 12/28/2011 01:09 PM Aaron Marcuse-Kubitza

Added accepted test output SALVIAS_db.organisms.VegBIEN.xml

320 12/28/2011 01:04 PM Aaron Marcuse-Kubitza

SALVIAS organisms mapping: Use _alt to merge tag1 and tag2. Fixes failing diff due to duplicate stemCodes.

319 12/28/2011 12:49 PM Aaron Marcuse-Kubitza

test/map: Added tests to insert VegBIEN XML into VegBIEN db

318 12/28/2011 12:47 PM Aaron Marcuse-Kubitza

bin/map: Fixed non-map input to set out_label

317 12/28/2011 12:12 PM Aaron Marcuse-Kubitza

bin/map: Fixed row processing when no map is used

316 12/28/2011 12:06 PM Aaron Marcuse-Kubitza

bin/map: Refactored to process each row separately when out_is_db

315 12/28/2011 12:04 PM Aaron Marcuse-Kubitza

xml_dom.py: Added Node pop() and clear() methods

314 12/28/2011 11:15 AM Aaron Marcuse-Kubitza

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

313 12/28/2011 11:12 AM Aaron Marcuse-Kubitza

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

312 12/28/2011 11:05 AM Aaron Marcuse-Kubitza

db_xml.py: Removed no longer needed xml2db()

311 12/28/2011 11:04 AM Aaron Marcuse-Kubitza

bin/map: out_is_db uses use_row instead of xml2db()

310 12/28/2011 10:53 AM Aaron Marcuse-Kubitza

bin/map: Added commit and exception-handling code to out_is_db use_row()

309 12/28/2011 10:42 AM Aaron Marcuse-Kubitza

bin/map: Merged get_xml() into process_xml(). Renamed process*() functions to distinguish them better.

308 12/28/2011 10:33 AM Aaron Marcuse-Kubitza

bin/map: Create separate document for printing XML opening and closing

307 12/28/2011 10:28 AM Aaron Marcuse-Kubitza

bin/map: Refactored to print document opening, contents, and closing in separate steps so they can be separated later

306 12/28/2011 10:27 AM Aaron Marcuse-Kubitza

xml_dom.py: Added support for integer indents

305 12/28/2011 10:19 AM Aaron Marcuse-Kubitza

xml_dom.py: Added NodeIter() and Node.__iter__()

304 12/28/2011 10:05 AM Aaron Marcuse-Kubitza

Use new xml_dom.prettyxml_config instead of Node.writeprettyxml because it can be passed as keyword args to any writexml function

303 12/28/2011 10:00 AM Aaron Marcuse-Kubitza

xml_dom.py: Removed no longer needed xml_dom.writexml()

302 12/28/2011 10:00 AM Aaron Marcuse-Kubitza

bin/map: Use Node.writeprettyxml() instead of xml_dom.writexml()

301 12/28/2011 09:57 AM Aaron Marcuse-Kubitza

xml_dom.py: Added minidom.Document write_opening() and write_closing() methods. Changed writexml(writer, node) to use new Node.writeprettyxml() method.

300 12/28/2011 09:28 AM Aaron Marcuse-Kubitza

Renamed ex.py to exc.py

299 12/28/2011 09:24 AM Aaron Marcuse-Kubitza

Import xml.dom.minidom as minidom

298 12/28/2011 09:10 AM Aaron Marcuse-Kubitza

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.

297 12/28/2011 08:37 AM Aaron Marcuse-Kubitza

bin/map: Factored out input processing code

296 12/23/2011 04:03 PM Aaron Marcuse-Kubitza

Commit after inserting each row

295 12/23/2011 03:59 PM Aaron Marcuse-Kubitza

Commit after inserting each row

294 12/23/2011 03:54 PM Aaron Marcuse-Kubitza

Use traceback.print_exc() to print Exceptions for each row instead of exiting

293 12/23/2011 03:26 PM Aaron Marcuse-Kubitza

env_password: Allow user to change saved password

292 12/23/2011 03:14 PM Aaron Marcuse-Kubitza

env_password: Don't print instructions for storing password for the session if called to store password for the session

291 12/23/2011 03:00 PM Aaron Marcuse-Kubitza

env_password: Print absolute path to env_password in case invoking script changed the working directory

290 12/23/2011 02:57 PM Aaron Marcuse-Kubitza

env_password: Print instructions for storing password for the session

289 12/23/2011 02:32 PM Aaron Marcuse-Kubitza

Updated SALVIAS plots mappings and corresponding VegX-VegBank mappings to parse date_start and date_finish

288 12/23/2011 02:11 PM Aaron Marcuse-Kubitza

xml_func.py: Print XML of XML functions with SyntaxExceptions

287 12/23/2011 02:08 PM Aaron Marcuse-Kubitza

xml_func.py: Added support for parsing dates

286 12/23/2011 01:56 PM Aaron Marcuse-Kubitza

ex.py: repl_msg(): take replacements as keyword args

285 12/23/2011 01:44 PM Aaron Marcuse-Kubitza

fix_permissions: Also change user to bien

284 12/23/2011 01:31 PM Aaron Marcuse-Kubitza

Makefile: Added python-dateutil dependency

283 12/23/2011 12:57 PM Aaron Marcuse-Kubitza

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

282 12/23/2011 12:40 PM Aaron Marcuse-Kubitza

Added inputs/SALVIAS organisms map

281 12/22/2011 08:30 PM Aaron Marcuse-Kubitza

map: Print xml_func.SyntaxExceptions without stack traces by using SystemExit

280 12/22/2011 08:22 PM Aaron Marcuse-Kubitza

xml_func.py: Add function name to SyntaxException message