You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading an empty distribution file from elegant results in an error right now:
File "/home/vagrant/.pyenv/versions/3.7.2/envs/py3/lib/python3.7/site-packages/rsbeams/rsdata/switchyard.py", line 39, in read_elegant
particle_data[:, i] = sdds_data[col][:]
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
This can be sidestepped and we can read and write empty distribution files. This appears to already be the case for the OPAL read/write. It might be better to just make this an error though.
The text was updated successfully, but these errors were encountered:
Reading an empty distribution file from elegant results in an error right now:
This can be sidestepped and we can read and write empty distribution files. This appears to already be the case for the OPAL read/write. It might be better to just make this an error though.
The text was updated successfully, but these errors were encountered: