bank = normalize_item_bank(bank)
File "path/to/catsim/irt.py", line 336, in normalize_item_bank
items = numpy.append(items, numpy.zeros((items.shape[0])), axis=1)
File "<__array_function__ internals>", line 5, in append
File "path/to/numpy/lib/function_base.py", line 4745, in append
return concatenate((arr, values), axis=axis)
File "<__array_function__ internals>", line 5, in concatenate
ValueError: all the input arrays must have same number of dimensions, but the array at index 0 has 2 dimension(s) and the array at index 1 has 1 dimension(s)
Currently calling normalize_item_bank(...) on an array like so:
Gives:
This PR fixes up the shapes of the extra columns.