This pull request will refactor the code in #208. Obviously not everything needs to be carried across. #208 works in its own right, there are just a few quality of life additions I thought to add.
The main QOLs are:
Warning messages used instead of stop messages so all bad parameters can be identified in one run
Use of a function to check parameters existence and type/class (for future use)
Error messages (relating to bad parameters) are separated with newlines for readability in log files.
Type of pull request
[ ] Bug fix
[ ] New feature/enhancement
[x] Code refactor
[ ] Documentation update
Checklist
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have tested my code to check that it is functional
[x] I have used linters to check for common sources of errors
[ ] I have implemented fail safes in my code to account for edge cases
[ ] I have made the corresponding changes to the documentation
Description
This pull request will refactor the code in #208. Obviously not everything needs to be carried across. #208 works in its own right, there are just a few quality of life additions I thought to add.
The main QOLs are:
Type of pull request
Checklist