BMClab/BMC

AMTIbsf.py TypeError

nikkadim opened this issue · 3 comments

  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]
>>> import numpy as np
>>> print(np.__version__)
1.19.2

data = np.array(data).reshape((int(mh.numDatasets), mh.TNC))
?

It was a type problem.