Skip to content

alphaflow not working -- keyError: 'ptm' #33

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

Open
marinaort opened this issue Sep 1, 2024 · 1 comment
Open

alphaflow not working -- keyError: 'ptm' #33

marinaort opened this issue Sep 1, 2024 · 1 comment

Comments

@marinaort
Copy link

I had been running alphaflow in an environment for the last months and it was working fine. This weekend I had not been able to run it. I have been getting this error:

[INFO] Loading the model
[INFO] Model has been loaded
0%| | 0/50 [00:08<?, ?it/s]
Traceback (most recent call last):
File "/GIT/alphaflow/predict.py", line 175, in
main()
File "/alphaflow/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/GIT/alphaflow/predict.py", line 129, in main
dat = {col: dat[col] for col in cols}
File "/GIT/alphaflow/predict.py", line 129, in
dat = {col: dat[col] for col in cols}
KeyError: 'ptm'

Another issue I found while running alphaflow is that in the file templates.py in lines 88 and 89 it is ussing np.object but a warning is displayed because in newer versions of numpy this doesn't exists and it recommends to change that lines from np.object to object.

@bjing2016
Copy link
Owner

Hi Marina,
It looks like there was an issue with the most recent PR --- could you pull and see if it's working now?

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