mcellteam / cellblender

Create, Simulate, Visualize, and Analyze Realistic 3D Cell Models
http://mcell.org/tutorials/index.html
GNU General Public License v2.0
63 stars 11 forks source link

Add Python 2.6 support for sim runner #101

Open jczech opened 8 years ago

jczech commented 8 years ago

Currently, the simulation runner does not work with Python 2.6. It would be fairly trivial to add support if we simply replace this:

if sys.version_info.major == 3:

with something like this:

if sys.version[0] == "3":

I don't believe there would be any serious downsides, and it should work with Python 2.6 and up (as of now, we support 2.7 and up).