Closed nsryan2 closed 2 months ago
Hello @nsryan2! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
scripts/tests/test_reactor_deployment.py
:I'm ignoring the pep8speaks comment about the module level import because the path needs to be specified in the tests to allow for importing the deployment_script (as with the other tests in this repo). This issue is documented in #148.
Thanks for the suggestions @LukeSeifert, I see what you mean about a class. I'll reconfigure to incorporate that change.
I'll say, it's not how the rest of the scripts are setup and that's probably to their detriment. This feedback would be good to connect with #58
Thanks for the suggestions @LukeSeifert, I see what you mean about a class. I'll reconfigure to incorporate that change.
I'll say, it's not how the rest of the scripts are setup and that's probably to their detriment. This feedback would be good to connect with #58
I see what you mean, maybe it would be worth putting that off until a full refactor. However you decide, let me know once you're ready for me to take another look.
@LukeSeifert thanks for the suggestions on improving the code. I have implemented all of them except for the class idea. I agree that it would improve this code, but I am hesitant to make the change now without thinking more broadly about the other scripts in this repo. I will make a note of this in the existing issue and start thinking about those changes.
This PR creates a new script in the repo that calculates when and how many reactors should be deployed with 4.5 deployment schemes.
Deployment Functions
There are corresponding tests and documentation in the style of the repository.