Skip to content

Question about the variables ("e_form_2000" and "e_form_500") in "analyze_chgnet.py" file #80

Closed Answered by janosh
Claudia-Hello asked this question in Q&A
Discussion options

You must be logged in to vote

that code is a bit outdated. the columns e_form_(500|2000) can be found in the df_chgnet_v020 dataframe that's loaded right above the snippet you posted.

df_chgnet = df_chgnet_v030 = pd.read_csv(PRED_FILES.CHGNet)
df_chgnet_v020 = pd.read_csv(
f"{module_dir}/2023-03-06-chgnet-0.2.0-wbm-IS2RE.csv.gz", index_col=Key.mat_id
)
df_chgnet[Key.formula] = df_wbm[Key.formula]
e_form_2000 = "e_form_per_atom_chgnet_relax_steps_2000"
e_form_500 = "e_form_per_atom_chgnet_relax_steps_500"
min_e_diff = 0.1
# structures with smaller energy after longer relaxation need…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Claudia-Hello
Comment options

Answer selected by Claudia-Hello
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants