Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I had a look at the accc funtion. It's 650 lines long.

and there is a lot of this type of code:

if accshts['phase shifter angle'][0]:
        sht = accshts['phase shifter angle'][0]

Which means if the list element for accshts and key phase_shifter_angle is empty then you'll get the IndexError.

It would be a really difficult bug to track down given the circumstances. If you are desperate to fix the bug, start with a smaller accc study and see if that works. You may find that the size of the study is a problem. Or perhaps some combination of your arguments to the accc function.

You may find just writing the data to a CSV file will be quicker.