I have added in capacity_type staying in main.py. Also, the buffer_points function has now got error checking so that if a value of capacity_type is not high or low it will throw an error.
Closes or fixes
Fixes #376
Code
[ ] Requirements My/our code matches the requirements of the ticket
[ ] Functionality: New functions meet requirements in issue ticket
[ ] Compliant Code Code is as PEP 8 compliant as I can humanly make it
[ ] Code runs The code runs on my machine
[ ] Clean Code
[ ] Code has been linted (use your favourite linter)
Pull Request submission
I have added in
capacity_type
staying inmain.py
. Also, thebuffer_points
function has now got error checking so that if a value ofcapacity_type
is not high or low it will throw an error.Closes or fixes
Fixes #376
Code
Documentation
Any new code includes all the following forms of documentation:
parameters
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.