baliga-lab / cmonkey2

Python port of cMonkey, a machine-learning based method for clustering
GNU Lesser General Public License v3.0
26 stars 16 forks source link

Add port selector for cmviewer #33

Closed JohnCEarls closed 9 years ago

JohnCEarls commented 10 years ago

Just a quick suggestion. Ran into an issue where the default 8080 port was not open.

Added trivial bit of code to main.py to change that

cherrypy.config.update({'server.socket_host': '127.0.0.1, 'server.socket_port': 9999, })

(see: https://groups.google.com/forum/#!topic/cherrypy-users/lfUoxFsqp5U)

be nice to do something similar in the args.

Let user cmviewer/main.py -p 9999 or something.

Cheers, looks nice btw.