Added a method, AdlerData.write_row_to_database(), which writes all of the data stored in the AdlerData object to a row in a SQLite database, including a timestamp.
Wrote a unit test for the above.
Added back in some mysteriously missing lines from an existing unit test.
The refactor of AdlerData made this incredibly simple, in the end. Happy to take feedback.
Review Checklist for Source Code Changes
[x] Does pip install still work?
[x] Have you written a unit test for any new functions?
[x] Do all the units tests run successfully?
[x] Does adler run successfully on a test set of input files/databases?
[x] Have you used black on the files you have updated to confirm python programming style guide enforcement?
Fixes #69.
AdlerData.write_row_to_database()
, which writes all of the data stored in the AdlerData object to a row in a SQLite database, including a timestamp.The refactor of AdlerData made this incredibly simple, in the end. Happy to take feedback.
Review Checklist for Source Code Changes