Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMTIbsf.py TypeError #31

Closed
nikkadim opened this issue Feb 3, 2021 · 3 comments
Closed

AMTIbsf.py TypeError #31

nikkadim opened this issue Feb 3, 2021 · 3 comments

Comments

@nikkadim
Copy link

nikkadim commented Feb 3, 2021

  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
Copy link
Author

nikkadim commented Feb 3, 2021

>>> import numpy as np
>>> print(np.__version__)
1.19.2

@nikkadim
Copy link
Author

nikkadim commented Feb 3, 2021

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

@rnwatanabe
Copy link
Member

It was a type problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants