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

Documentation #6

Open
pythonnewbie3 opened this issue Sep 14, 2021 · 3 comments
Open

Documentation #6

pythonnewbie3 opened this issue Sep 14, 2021 · 3 comments

Comments

@pythonnewbie3
Copy link

Could you maybe provide a documentation on how to include your library into a self written program? That would help alot. :-)

@pulimeng
Copy link
Owner

How exactly you want to incorporate the code? If you are using Python for the rest of your code, you can just use the predict function in etoxpred_prediction.py

@pythonnewbie3
Copy link
Author

I want to write a script where the toxicity is predicted along with other values from a smiles.

@pulimeng
Copy link
Owner

In that case, if you downloaded the entire repo, you can simply do import predict from etox_predict. Then make a dictionary, say d, contains: path to .smi, path to model, path to output file.
Then you do predict(d)

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