Closed jwestw closed 1 year ago
I have killed off all conflicts by rebasing master into this branch - hopefully keeping all my changes.
I have checked, and the code now works for me.
Just done a final linting with autopep8 to really tidy this up.
One issue to resolve.
When I run SDG_bus_timetable.py
I need to add src
to the data_output
import in data_transform
.
However when I run main
I then need to remove it.
Is there a way we can have it imported that satisfy both modules
I have sorted the problem RE: local imports of our own modules from the scr folder. The timetable python files are now all within scr, the parent is added to path, and this solves the problem. src.
is not needed anywhere now.
I have also re-linted.
And I have re-based so there are no conflicts with master
@nkshaw23 please review and approve.
Pull Request submission
SDG_11.2.1_main.py
intomain.py
- hopefully this is an identical change on other branches that I have made recently so won't create too much conflictsrc
time_table
undersrc
time_table_utils.py
fileadd_stop_capacity_type
have also been moved to the utilsNo new requirements are needed to run this.
No new data is required to run this.
Closes or fixes
Fixes #331
Code
Documentation
Any new code includes all the following forms of documentation:
args
andreturns
for all major functionsData
Testing
Peer Review Section
requirements.txt
Final approval (post-review)
The author has responded to my review and made changes to my satisfaction.
Review comments
Insert detailed comments here!
These might include, but not exclusively:
Your suggestions should be tailored to the code that you are reviewing. Be critical and clear, but not mean. Ask questions and set actions.