Public | Automated Build

Last pushed: 6 months ago
Short Description
Automated build from github th0mmeke/toyworld2
Full Description

ToyWorld2

Prerequisites

  1. Python 2.7.x
  2. PyMunk
    • pip install pymunk
  3. RDKit
  4. NetworkX
    • pip install networkx
  5. 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 <local directory>/toyworld2.json.

docker run -v <local directory>:/toyworld2/data th0mmeke/toyworld2 [python main.py --generations=50000]
Docker Pull Command
Owner
th0mmeke
Source Repository

Comments (0)