Skip to content

Commit f778d6e

Browse files
authored
Merge pull request #157 from Stanford-NavLab/v1.0.2
v1.0.2 is ready as a new release.
2 parents 93492dd + fdf5a81 commit f778d6e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1997
-1334
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- name: Test with pytest
6767
run: |
6868
source $VENV
69-
pytest --cov=gnss_lib_py/algorithms --cov=gnss_lib_py/parsers --cov=gnss_lib_py/utils --cov-report=xml
69+
poetry run pytest --cov=gnss_lib_py/algorithms --cov=gnss_lib_py/navdata --cov=gnss_lib_py/parsers --cov=gnss_lib_py/utils --cov=gnss_lib_py/visualizations --cov-report=xml
7070
- name: Upload coverage report to code-cov
7171
uses: codecov/codecov-action@v3
7272
with:

build_docs.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,24 @@ cd docs
88
echo "Rebuilding References"
99
rm -r ./source/reference/algorithms/*
1010
poetry run sphinx-apidoc -f -M -q -o ./source/reference/algorithms/ ./../gnss_lib_py/algorithms/
11+
rm -r ./source/reference/navdata/*
12+
poetry run sphinx-apidoc -f -M -q -o ./source/reference/navdata/ ./../gnss_lib_py/navdata/
1113
rm -r ./source/reference/parsers/*
1214
poetry run sphinx-apidoc -f -M -q -o ./source/reference/parsers/ ./../gnss_lib_py/parsers/
1315
rm -r ./source/reference/utils/*
1416
poetry run sphinx-apidoc -f -M -q -o ./source/reference/utils/ ./../gnss_lib_py/utils/
17+
rm -r ./source/reference/visualizations/*
18+
poetry run sphinx-apidoc -f -M -q -o ./source/reference/visualizations/ ./../gnss_lib_py/visualizations/
1519
rm -r ./source/reference/test_algorithms/*
1620
poetry run sphinx-apidoc -f -M -q -o ./source/reference/test_algorithms/ ./../tests/algorithms/
21+
rm -r ./source/reference/test_navdata/*
22+
poetry run sphinx-apidoc -f -M -q -o ./source/reference/test_navdata/ ./../tests/navdata/
1723
rm -r ./source/reference/test_parsers/*
1824
poetry run sphinx-apidoc -f -M -q -o ./source/reference/test_parsers/ ./../tests/parsers/
1925
rm -r ./source/reference/test_utils/*
2026
poetry run sphinx-apidoc -f -M -q -o ./source/reference/test_utils/ ./../tests/utils/
27+
rm -r ./source/reference/test_visualizations/*
28+
poetry run sphinx-apidoc -f -M -q -o ./source/reference/test_visualizations/ ./../tests/visualizations/
2129

2230
# remove previously downloaded .csv files if they exist
2331
rm ./source/*/*.csv

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@
2222
sys.path.insert(0, os.path.abspath('../../'))
2323
sys.path.insert(0, os.path.abspath('../../gnss_lib_py/'))
2424
sys.path.insert(0, os.path.abspath('../../gnss_lib_py/algorithms/'))
25+
sys.path.insert(0, os.path.abspath('../../gnss_lib_py/navdata/'))
2526
sys.path.insert(0, os.path.abspath('../../gnss_lib_py/parsers/'))
2627
sys.path.insert(0, os.path.abspath('../../gnss_lib_py/utils/'))
28+
sys.path.insert(0, os.path.abspath('../../gnss_lib_py/visualizations/'))
2729
sys.path.insert(0, os.path.abspath('../../tests/'))
2830
sys.path.insert(0, os.path.abspath('../../tests/algorithms'))
31+
sys.path.insert(0, os.path.abspath('../../tests/navdata'))
2932
sys.path.insert(0, os.path.abspath('../../tests/parsers'))
3033
sys.path.insert(0, os.path.abspath('../../tests/utils'))
34+
sys.path.insert(0, os.path.abspath('../../tests/visualizations'))
3135

3236

3337
# -- Project information -----------------------------------------------------

docs/source/contributing/development.rst

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Standard GitHub Workflow
5959

6060
.. code-block:: bash
6161
62-
poetry run pytest --cov=gnss_lib_py/algorithms --cov=gnss_lib_py/parsers --cov=gnss_lib_py/utils --cov-report=xml
62+
poetry run pytest --cov=gnss_lib_py/algorithms --cov=gnss_lib_py/navdata --cov=gnss_lib_py/parsers --cov=gnss_lib_py/utils --cov=gnss_lib_py/visualizations --cov-report=html
6363
poetry run coverage report
6464
6565
See the :ref:`Coverage Report<coverage>` section for more details.
@@ -79,28 +79,17 @@ Standard GitHub Workflow
7979
folders for PyCharm and :code:`.vscode` folders for VS Code are not
8080
committed by updating the :code:`.gitignore` file.
8181

82-
10. Improve code readability by linting it. Run :code:`pylint` to preview
83-
issues with the code:
84-
85-
.. code-block:: bash
86-
87-
poetry run python -m pylint path-to-file-to-lint
88-
89-
Resolve issues that do not impact how you have implemented your functionality,
90-
such as conforming to snake case naming, removing TODOs and using suggested
91-
defaults.
92-
93-
11. Add your name to the `contributors list <https://github.com/Stanford-NavLab/gnss_lib_py/blob/main/CONTRIBUTORS.md>`__.
82+
10. Add your name to the `contributors list <https://github.com/Stanford-NavLab/gnss_lib_py/blob/main/CONTRIBUTORS.md>`__.
9483

95-
12. Commit your changes and publish your branch to GitHub:
84+
11. Commit your changes and publish your branch to GitHub:
9685

9786
.. code-block:: bash
9887
9988
git add -A
10089
git commit -m "<describe changes in this commit>"
10190
git push origin your-name/name-of-your-bugfix-or-feature
10291
103-
13. Submit a pull request through GitHub. For the base branch
92+
12. Submit a pull request through GitHub. For the base branch
10493
in the pull request, select the latest version release branch :code:`vX.Y.Z`
10594
(with the highest number of all such branches). *Do not target the*
10695
:code:`main` *branch in your pull request.* In the pull request,
@@ -153,7 +142,7 @@ NAVLab GitHub Workflow
153142

154143
.. code-block:: bash
155144
156-
poetry run pytest --cov=gnss_lib_py/algorithms --cov=gnss_lib_py/parsers --cov=gnss_lib_py/utils --cov-report=xml
145+
poetry run pytest --cov=gnss_lib_py/algorithms --cov=gnss_lib_py/navdata --cov=gnss_lib_py/parsers --cov=gnss_lib_py/utils --cov=gnss_lib_py/visualizations --cov-report=html
157146
poetry run coverage report
158147
159148
See the :ref:`Coverage Report<coverage>` section for more details.
@@ -173,20 +162,9 @@ NAVLab GitHub Workflow
173162
folders for PyCharm and :code:`.vscode` folders for VS Code are not
174163
committed by updating the :code:`.gitignore` file.
175164

176-
10. Improve code readability by linting it. Run :code:`pylint` to preview
177-
issues with the code:
178-
179-
.. code-block:: bash
180-
181-
poetry run python -m pylint path-to-file-to-lint
182-
183-
Resolve issues that do not impact how you have implemented your functionality,
184-
such as conforming to snake case naming, removing TODOs and using suggested
185-
defaults.
186-
187-
11. Add your name to the `contributors list <https://github.com/Stanford-NavLab/gnss_lib_py/blob/main/CONTRIBUTORS.md>`__.
165+
10. Add your name to the `contributors list <https://github.com/Stanford-NavLab/gnss_lib_py/blob/main/CONTRIBUTORS.md>`__.
188166

189-
12. When you're ready to commit changes follow the steps below to
167+
11. When you're ready to commit changes follow the steps below to
190168
minimize unnecessary merging. This is especially important if
191169
multiple people are working on the same branch. If you pull new
192170
changes, then repeat the tests above to double check that everything
@@ -201,7 +179,7 @@ NAVLab GitHub Workflow
201179
git commit -m "<describe changes in this commit>"
202180
git push origin your-name/name-of-your-bugfix-or-feature
203181
204-
13. Submit a pull request through GitHub. For the base branch
182+
12. Submit a pull request through GitHub. For the base branch
205183
in the pull request, select the latest version release branch :code:`vX.Y.Z`
206184
(with the highest number of all such branches). *Do not target the*
207185
:code:`main` *branch in your pull request.* In the pull request,
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
navdata
2+
=======
3+
4+
.. toctree::
5+
:maxdepth: 4
6+
7+
navdata
8+
operations
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
navdata module
2+
==============
3+
4+
.. automodule:: navdata
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
operations module
2+
=================
3+
4+
.. automodule:: operations
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/source/reference/reference.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,10 @@ documentation below.
290290
:maxdepth: 2
291291

292292
algorithms/modules
293+
navdata/modules
293294
parsers/modules
294295
utils/modules
296+
visualizations/modules
295297

296298
Testing References
297299
--------------------------------
@@ -302,8 +304,10 @@ documentation below.
302304
:maxdepth: 2
303305

304306
test_algorithms/modules
307+
test_navdata/modules
305308
test_parsers/modules
306309
test_utils/modules
310+
test_visualizations/modules
307311

308312

309313
Additional Indices
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
navdata
2+
=======
3+
4+
.. toctree::
5+
:maxdepth: 4
6+
7+
test_navdata
8+
test_operations
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
test\_navdata module
2+
====================
3+
4+
.. automodule:: test_navdata
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

0 commit comments

Comments
 (0)