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

Switch finetune and smiles app to use entrypoints #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cthoyt
Copy link

@cthoyt cthoyt commented Dec 22, 2020

This PR does the following:

  1. Encompasses the contents of if __name__ == '__main__': ... in both molbert.apps.smiles and molbert.apps.finetune in respective main() functions
  2. Introduces python entrypoints in the setup.py so the smiles and finetune scripts get vanity commands in the shell upon pip install. Respectively, they are molbert_smiles and molbert_finetune. This makes it easier to write reproducible scripts that don't rely on the installation to be in a certain place
  3. Update the README to reflect the changes in best way to run these apps

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

Successfully merging this pull request may close these issues.

1 participant