zhucaoxiang/CoilPy

Bug in STELLout

Closed this issue · 3 comments

Hi,

I found that I had to delete lines 210-211 in STELLout in order to read the output without getting the error

index 4 is out of bounds for axis 2 with size 4

Please check if you are using the latest version.

@ejpaul Are you saying the following lines?

                self[item+'_m'] = np.array(self[item][:,:,4])
                self[item+'_n'] = np.array(self[item][:,:,5])

I haven't checked this part. Usually, I was using the helicity_full. It looks the helicity option only has four columns. I have deleted these two lines. Can you please check if it works now? 'pip install -U coilpy' (version 0.2.14)

This fixed the issue. Thanks!