AMTIbsf.py TypeError
nikkadim opened this issue · 3 comments
nikkadim commented
File "\\#Measurements\\AMTINetForce\AMTIbsf.py", line 171, in loadbsf
data = np.array(data).reshape((mh.numDatasets, mh.TNC))
TypeError: 'float' object cannot be interpreted as an integer
[Finished in 3.2s with exit code 1]
nikkadim commented
>>> import numpy as np
>>> print(np.__version__)
1.19.2
nikkadim commented
data = np.array(data).reshape((int(mh.numDatasets), mh.TNC))
?
rnwatanabe commented
It was a type problem.