Skip to content

Releases: ODM2/ODM2PythonAPI

v0.7.2

11 May 06:11
952a42e
Compare
Choose a tag to compare

Bug fixes, fixes to tests and test databases, documentation overhaul, new sample notebooks, coding standards (PEP8) improvements. See #165 and https://github.com/ODM2/ODM2PythonAPI/milestone/3

Bug fixes

  • #156, model column name fixes.
  • #158, regression bug introduced in v0.7.1

Test infrastructure

  • #171, Updated odm2api module path calls in tests/test_odm2 modules to remove deprecated use of ODM2 module hierarchy
  • #169, Fixed many messy (bad/invalid) datetime strings in the tests/test_odm2/data/populated.sql test SQLite database ddl, that were leading to test failures and also impacted #158
  • Addressed other test warnings

Documentation

  • #162, #163, #173, Overhauled organization of Sphinx docs to make them more user friendly (Get Started section)
  • Two new, cleaner Jupyter notebooks clearly focusing on TimeSeries results and Measurements results, respectively

v0.7.1

04 Mar 08:36
9945421
Compare
Choose a tag to compare

The major new feature in this release is a package module hierarchy refactoring to remove (deprecate) the "ODM2" package hierarchy that's no longer useful (#146, addressed in #147). The old hierarchy will still be supported for some time, but its use generates deprecation warnings; it will be dropped in a future release.

We also moved the conda package for this library from the odm2 conda channel to conda-forge (#148)

Documentation was updated to reflect these changes:

  • #151 Updated README to reflect changes to conda-forge channel and how to install the latest development version.
  • #153 Update sphinx documentation to reflect new module hierarchy.

New Feature

  • #143 Added eager loading for samplingfeaturedataset to reduce query response time.

v0.7.0

19 Jan 23:06
85932e7
Compare
Choose a tag to compare

Major new release, including a new Sphinx-based documentation system, important enhancements, and bug fixes. Includes commits primarily from USU and UW.

New Sphinx-based documentation system

  • #99 Created a Sphinx based Documentation, http://odm2.github.io/ODM2PythonAPI/. Updated automatically using Travis CI, and leveraging code doc strings
  • #98 Improved documentation to follow Google doc style. Enhanced and refactored many docstrings (Still Ongoing)

Other Enhancements

  • #121 Created getSamplingFeatureDatasets, then updated the structure of the object that is returned (#125)
  • #122 Created getDatasetsResults and Improved getDatasets
  • #123 Improved getResults
  • #127 Pandas Dataframe returned by getResultValues and getDatasetsValues now can optionally return column names in the original ODM2 CamelCase form. While the default continues to be lowercase, this default behavior will be deprecated in an upcoming future release in favor of CamelCase as default.
  • #111 Python 3 Compatibility and Flake 8 Improvements
  • Improved unit testing

Bug fixes

  • #96 Fix person and organization filter for affiliations.
  • #129 Fix bug in getProcessingLevels
  • #131 Fix bug in getSamplingFeatureDatasets
  • #134 Fix bug in model DataloggerFiles and DataloggerFileColumns

0.6.0 Alpha

26 May 18:02
Compare
Choose a tag to compare
0.6.0 Alpha Pre-release
Pre-release

Release includes the following fixes:

  • Remove Geoalchemy dependency
  • Cleanup odm1 code
  • Improve documentation

0.5.3 Alpha

06 May 02:20
Compare
Choose a tag to compare
0.5.3 Alpha Pre-release
Pre-release

Release includes the following fixes:

  • Cleans up the inheritance of the models, there used to be duplicates of some of the data from the base class.
    removes calls to the ODM1.1.1 in the Session Factory Class
  • Alters the db connection settings to prevent a connection from timing out when it has been open for a long period of time (like through wofpy)
  • Adds better functionality for querying specimen datatypes through get related features, get results, and get result values.
  • Cleans up the update/delete/create functions. SQL alchemy keeps these simple, every function is the same, basically you send in the object you want to change/delete/add and it takes care of it for you.
  • fleshes out some of the get queries. they were missing needed parameters, or were throwing errors.
  • Set up getResultValues to return a pandas dataframe, no matter what type of Result
  • Fix a misnamed object relationship in Annotations object

0.5.2 Alpha

27 Sep 20:17
Compare
Choose a tag to compare
0.5.2 Alpha Pre-release
Pre-release

Release includes the following fixes:

  • Rename objects to be consistent throughout datatypes( within result values objects)
  • Remove any reference to geospatial libraries
  • #65
  • #66
  • #67

0.5.1 Alpha

29 Jun 19:03
Compare
Choose a tag to compare
0.5.1 Alpha Pre-release
Pre-release

Release includes the following fixes:

  • #65
  • #66
  • #67
  • #48
  • Fix the create queries so they return the newly created object( and its id)

0.5.0 Alpha

22 Apr 20:56
Compare
Choose a tag to compare
0.5.0 Alpha Pre-release
Pre-release

A python-based programmer's interface for the Observations Data Model 2 ( ODM2) This is the 2nd alpha release:
It contains the following features:

  • Model object Inheritance
  • Model object init functions
  • revised and cleaned up set of commonly used queries
  • cleaned up code

It is still missing:

  • Geometry Support

0.1.0 Alpha

04 Apr 22:09
Compare
Choose a tag to compare
0.1.0 Alpha Pre-release
Pre-release

A Python-based application programmer's interface for the Observations Data Model 2 (ODM2)
This is the first Beta release.
It contains the following features:

  • SqlAlchemy Objects for most of the ODM2 tables
  • Support for MSSQL, MySQL, PostgreSQL and SQLite
  • Set of commonly used queries

It is missing:

  • Feature Geometry support