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

Implement command-line call for TPOT #16

Closed
rhiever opened this issue Nov 13, 2015 · 3 comments
Closed

Implement command-line call for TPOT #16

rhiever opened this issue Nov 13, 2015 · 3 comments
Assignees

Comments

@rhiever
Copy link
Contributor

rhiever commented Nov 13, 2015

Currently, the only way to call TPOT is to point Python to the tpot.py file, which obviously isn't useful for people who installed TPOT via e.g. pip. Make the pip installer create an entry point for the command line.

See https://github.com/rhiever/reddit-analysis/blob/master/setup.py#L41 for an example.

@rhiever rhiever self-assigned this Nov 13, 2015
@rasbt
Copy link
Contributor

rasbt commented Nov 13, 2015

May I ask why you chose this design decision over a regular module? Just an idea, but I'd consider changing it to a standard package/module layout and provide "example scripts" and or the command line interfaces extra, which import for the package. What do you think? This way it's much more flexible and you can make different flavors of command line executable scripts. (I am doing this for one of my projects as well, the "large scale virtual screening" one. For example, I would have all the base classes and function as a module, and then I have command line scripts such as "parse database", "overlay molecules" etc.

@rhiever
Copy link
Contributor Author

rhiever commented Nov 13, 2015

Check the README. It supports both. ;-)

@rasbt
Copy link
Contributor

rasbt commented Nov 13, 2015

Ahh, you updated it! Nice, and never-mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants