Skip to content
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

chemprop.predict_from_smiles reports error when explain is set to True #36

Open
ErikZhang-9762 opened this issue Oct 9, 2024 · 1 comment

Comments

@ErikZhang-9762
Copy link

Hi,

Thanks for the development of QSARtuna, it's very useful.

I tried the code in notebook/QSARtuna_Tutorial.ipynb,chemprop.predict_from_smiles reports error when explain is set to True.

chemprop.predict_from_smiles(df[config.data.input_column].head(5), explain=True)

and Error happen:
/mambaforge/envs/qsartuna/lib/python3.10/site-packages/pandas/core/internals/construction.py", line 420, in _check_values_indices_shape_match
    raise ValueError(f"Shape of passed values is {passed}, indices imply {implied}")
ValueError: Shape of passed values is (2, 4), indices imply (2, 1)

Did I miss something?

Eric

@lewismervin1
Copy link
Collaborator

Hi Eric, this is strange because the example in the Notebook is working to build the documentation. Please can you run the example Notebook in order on your system and confirm that the Explainability section is able to execute?

Thanks,
Lewis

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