Closed miguelcleon closed 6 years ago
why did this fail @lsetiawan @ocefpaf ?
also
found two more problems with dataloggerfiles model
There is no column dataloggeroutputfiledescription
instead it is dataloggerfiledescription
https://github.com/ODM2/ODM2PythonAPI/blob/master/odm2api/ODM2/models.py#L460
There is no column dataloggeroutputfilelink
instead it is dataloggerfilelink
https://github.com/ODM2/ODM2PythonAPI/blob/master/odm2api/ODM2/models.py#L461
I can confirm instances of these models can now be retrieved without error.
Sorry for replying to this so late. Was out sick yesterday. It seems like travis error is from Python 3.2 and 3.3 not being able to build the conda environment. Nothing to do with the changes. But, changes should go into the development branch rather than master. Please be advised. Thanks.
Moved to #134. Closing.
@lsetiawan I went ahead and made the fix for issue #132
see that the first one, this is caused by Dataloggerfiles model, mapping to the wrong column within the database: https://github.com/ODM2/ODM2PythonAPI/blob/master/odm2api/ODM2/models.py#L458.
For the second one, measurementequation is indeed misspelled: https://github.com/ODM2/ODM2PythonAPI/blob/master/odm2api/ODM2/models.py#L514.