The program maws.py was developed by students in 2015 at Uni-Heidelberg but I could not contact the developer. I checked maws.py with PyCharm and the many indentation problems were solved, I hope. However, running maws.py (program has 1615 lines, so only a few lines are shown):
def gen_range(lower, upper, step):
start = lower
while start < upper:
yield start
start += step
etc...
I get the following error:
yield start
^
SyntaxError: 'yield' outside function
Process finished with exit code 1
I do not know how to solve this as I am a python user and know almost nothing about programming.