Skip to content

Commit

Permalink
bugfix for interpret.py
Browse files Browse the repository at this point in the history
unify_datatype() is needed before kernel calculation.
  • Loading branch information
Xiangyan93 authored Jan 5, 2025
1 parent 5e710cf commit eba2992
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mgktools/interpret/interpret.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def interpret_training_mols(smiles_to_be_interpret: List[str],
full.create_graphs(n_jobs=n_jobs)
if features_generators is not None:
full.create_features_mol(n_jobs=n_jobs)
full.unify_datatype()
kernel_config = get_kernel_config(
train,
graph_kernel_type=graph_kernel_type,
Expand Down

0 comments on commit eba2992

Please sign in to comment.