diff --git a/.vscode/settings.json b/.vscode/settings.json index dd60674..713203b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,5 @@ "editor.formatOnSave": true, "modulename": "${workspaceFolderBasename}", "distname": "${workspaceFolderBasename}", - "moduleversion": "1.2.38", + "moduleversion": "1.2.39", } \ No newline at end of file diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index e6e298a..9854961 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,12 @@ # pyubx2 Release Notes -### RELEASE CANDIDATE 1.2.38 +### RELEASE CANDIDATE 1.2.39 + +FIXES: + +1. Fix incorrect UBX MGA-GPS-EPH payload definition Fixes [#141](https://github.com/semuconsulting/pyubx2/issues/141) + +### RELEASE 1.2.38 CHANGES: diff --git a/pyproject.toml b/pyproject.toml index 3970fa3..2b9200d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "pyubx2" authors = [{ name = "semuadmin", email = "semuadmin@semuconsulting.com" }] maintainers = [{ name = "semuadmin", email = "semuadmin@semuconsulting.com" }] description = "UBX protocol parser and generator" -version = "1.2.38" +version = "1.2.39" license = { file = "LICENSE" } readme = "README.md" requires-python = ">=3.8" diff --git a/src/pyubx2/_version.py b/src/pyubx2/_version.py index cdf05ff..296aaeb 100644 --- a/src/pyubx2/_version.py +++ b/src/pyubx2/_version.py @@ -8,4 +8,4 @@ :license: BSD 3-Clause """ -__version__ = "1.2.38" +__version__ = "1.2.39" diff --git a/src/pyubx2/ubxtypes_set.py b/src/pyubx2/ubxtypes_set.py index b952f43..e54b9e6 100644 --- a/src/pyubx2/ubxtypes_set.py +++ b/src/pyubx2/ubxtypes_set.py @@ -680,7 +680,7 @@ "omega": [I4, 2**-31], "omegaDot": [I4, 2**-43], "idot": [I2, 2**-43], - "reserved2": U4, + "reserved2": U2, }, "MGA-GPS-HEALTH": { "type": U1, diff --git a/tests/test_assistnow.py b/tests/test_assistnow.py index 17f8864..713a988 100644 --- a/tests/test_assistnow.py +++ b/tests/test_assistnow.py @@ -5,6 +5,7 @@ @author: semuadmin """ + # pylint: disable=line-too-long, invalid-name, missing-docstring, no-member import unittest @@ -49,15 +50,15 @@ def testAssistNowALM(self): def testAssistNowEPH(self): EXPECTED_RESULTS = [ - "", - "", - "", - "", - "", + "", + "", + "", + "", + "", ] for i, pld in enumerate(self.mga_gps_eph_payloads): res = UBXMessage("MGA", "MGA-GPS-EPH", SET, payload=pld) - # print(res) + # print(f'"{res}",') self.assertEqual(str(res), EXPECTED_RESULTS[i])