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
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
#28
Open
pentyum opened this issue
Jun 29, 2024
· 0 comments
In the function of read_single_spectrum of spectra_io.py, at line 317. Because targetrow should be a scalar, but the return of np.argwhere is an 2d array.
The text was updated successfully, but these errors were encountered:
pentyum
added a commit
to pentyum/desigal
that referenced
this issue
Jun 29, 2024
In the function of
read_single_spectrum
of spectra_io.py, at line 317. Becausetargetrow
should be a scalar, but the return of np.argwhere is an 2d array.The text was updated successfully, but these errors were encountered: