Skip to content

Fix path references in notebook/README + Workflow python version update, #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lordphone
Copy link

Problem

Some paths in example notebooks and the README have been incorrect since this commit that restructures util folders: f304c57

Workflow test fails due to Python 3.7 EOL on github.

Solution

This PR updates:

  1. position_benchmark notebook now looks at the correct folder "utils" instead of the non-existent "notebooks/lib" folder for utils.
  2. Updated position_benchmark and raw_readers notebook to use relative paths for tools/utils to: be consistent with the processed_reader notebook, and remove the need to manually add paths into PYTHONPATH with export commands.
  3. Updates the README to reflect these changes.
  4. Changed workflow main.yml python 3.7 instances to 3.8.

Testing

I believe all three notebooks can run correctly now, without much intervention.
Workflow test passes.

Additional Notes

No functional code was changed.

This is my first time trying to contribute to open source code, so please, if an mistake is made, point me to the right direction and I'll learn from it, thank you!

Updated the correct folder path for position_benchmark notebook, added path to openpilot folder for raw_readers notebook.
Now, all three notebooks handle PYTHONPATH the same way as the processed_readers notebook originally does, and theres no need for manually adding paths to utilities to PYTHONPATH with export command.
Updated README to reflect this change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant