Skip to content

Commit

Permalink
adds dataset_name to the Data class a kwarg ORNL#319
Browse files Browse the repository at this point in the history
  • Loading branch information
Kshitij V. Mehta committed Jan 27, 2025
1 parent 083ae32 commit edafeb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydragnn/utils/descriptors_and_embeddings/smiles_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def generate_graphdata_from_rdkit_molecule(

y = ytarget # .squeeze()

data = Data(x=x, edge_index=edge_index, edge_attr=edge_attr, y=y)
data = Data(x=x, edge_index=edge_index, edge_attr=edge_attr, y=y, **{'dataset_name': None})
if var_config is not None:
hydragnn.preprocess.update_predicted_values(
var_config["type"],
Expand Down

0 comments on commit edafeb5

Please sign in to comment.