gooddogtyson wrote: ↑
October 8th, 2019, 8:29 pm
I tried both from the google drive and the github, neither seem to work
OK, that's good - you've got the latest version then. I presume you also have a copy of sss.py from the same place, otherwise there'd be a different error.
The line number is 300
Right. That error is just masking another error which must have occurred before the main loop started - which is where ii will be defined. My try .. except .. finally code is a bit dodgy, but I thought the "except Exception, e: raise" should have surfaced the error. can you change that block (at line 290) to the following:
Code: Select all
except Exception, e:
Run the script again and copy the content of the Note window here. That should be a much more useful error.
: Or alternatively, temporarily comment out the last line and then the original exception will be raised after the finally block completes.
I started with a simple "T" shape just to test the script
The rule is important too. If this was a T-pentomino in CGoL then specifying more than 3 generations to match is not going to find any spaceships (because the pattern goes symmetric).
I gave a bit of detail about the options in an earlier post https://conwaylife.com/forums/viewtopic ... 608#p79608
Please note that with the default settings it's unlikely that a random pattern in a well known rule is going to give any results from the script. This is because it is unlikely to find new results for 5S in well explored parts of the search space. To contribute to 5S you should be a bit more selective about the starting pattern and number of generations to match - in particular you probably want to use starting patterns which have quite high periods.
However the script is useful for other things too if you change the options. For example, some very high period reflectorless rotating oscillators were found using the script with "bOsc = true" and using a high loopability RRO as a starting pattern. You can see these results on the last page of the RRO thread
. And it can also be used for its original purpose - to find periodic patterns with a phase matching the start pattern - if you set stabCycles = 0 and use a small number for the generations to match.