Commit 72dceea8 authored by Adam P. Goucher's avatar Adam P. Goucher

Genera successfully implemented

parent f67532e4
This diff is collapsed.
......@@ -14,7 +14,6 @@ def create_rule(rulestring):
raise ValueError("Maximum birth count cannot exceed or equal neighbourhood area")
if (gparams[4] > ((2 * gparams[0] + 1) ** 2)):
raise ValueError("Maximum survival count cannot exceed neighbourhood area")
print("Valid rulestring: \033[1;32m""\033[0m")
with open('iterators_%s.h' % rulestring, 'w') as f:
f.write('#pragma once\n')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment