lhatsk/AlphaLink

Wrong array shape when using single crosslink record

georgkempf opened this issue · 1 comments

Input with a single crosslink record is not reshaped properly at this line

if len(links.shape) == 0:

Instead of
if len(links.shape) == 0: links = np.array([links])
it should be
if len(links.shape) == 1: links = np.array([links])

lhatsk commented

Thanks for pointing this out! It's fixed now.