Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postgres #187

Merged
merged 81 commits into from
Aug 24, 2016
Merged

Postgres #187

merged 81 commits into from
Aug 24, 2016

Conversation

bkatiemills
Copy link
Member

These changes migrate AutoQC to read and write data to and from a postgres database, per @castelao's suggestion some time ago. QC results are consistent with master over 2000 profiles, up to some well-understood and resolved bugs in en_track (see #179 for details), and over 1000 profiles for the cotede suite (#184 was in the way of the second block of 1000 for those qc tests).

Key differences in usage and qc test writing are all detailed in the top-level README; briefly, running is now in three steps (db creation, qc running, and result summarization), and qc test signature is now test(p, parameters), where the new parameters argument is a dictionary carrying static parameters for tests to recycle across profiles.

bkatiemills and others added 30 commits July 3, 2016 06:11
woa_normbias can't handle pre-1900 profiles because it uses datetime.datetime.strftime which fails if given a date before 1900. Profiles from before 1900 are set to have year=1900. This should not have an impact on QC results but will prevent an error.
bkatiemills and others added 28 commits August 5, 2016 21:09
…check

Update cotede_test.py to handle pre-1900 profiles
@bkatiemills bkatiemills merged commit b1711a9 into master Aug 24, 2016
@bkatiemills bkatiemills deleted the postgres branch February 8, 2018 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants