Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

a suggestion to change predict_structure function name of m3gNet to predict_energy #55

Open
usccolumbia opened this issue Jan 26, 2023 · 1 comment

Comments

@usccolumbia
Copy link

from m3gnet.models import M3GNet
m3gnet_e_form = M3GNet.load()
m3gnet_e_form.predict_structure(struc)

In the current m3gNet, we call the predict_structure function to calculate energy, which is very confusing.
You should really name the function as predict_energy(), instead of predict_structure(), isn't it?

@shyuep
Copy link
Contributor

shyuep commented Jan 26, 2023

Thanks for the feedback. We will certainly make that change but we will do so in the new DGL version that is slated to replace this version. This TF version will be deprecated soon.

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

No branches or pull requests

2 participants