Sign inSign up

th0mmeke/toyworld2

By th0mmeke

•Updated over 9 years ago

Automated build from github th0mmeke/toyworld2

Image
0

427

th0mmeke/toyworld2 repository overview

⁠ToyWorld2

⁠Prerequisites

  1. Python 2.7.x
  2. PyMunk
  • pip install pymunk
  1. RDKit
  2. NetworkX
  • pip install networkx
  1. If using weighting_functions.replicant_weighting(), python package python-levenshtein⁠ (C-extensions supported with Python 2.2+)
  • pip install python-levenshtein
  • If import fails, check permissions on installed package directory (on Linux, /usr/local/lib/python2.7/dist-packages/Levenshtein)

The simplest installation of the pre-requisites is through Anaconda.

⁠Usage

⁠Local

python main.py

⁠Using Docker

The th0mmeke/toyworld2 image is built automatically on Docker Hub. Running the following will result in the the output file /toyworld2.json.

docker run -v <local directory>:/toyworld2/data th0mmeke/toyworld2 [python main.py --generations=50000]

Tag summary

Content type

Image

Digest

Size

249.3 MB

Last updated

over 9 years ago

docker pull th0mmeke/toyworld2