Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

AttributeError: 'Game' object has no attribute 'ran' #6

Open
dfamil opened this issue Jul 22, 2023 · 0 comments
Open

AttributeError: 'Game' object has no attribute 'ran' #6

dfamil opened this issue Jul 22, 2023 · 0 comments

Comments

@dfamil
Copy link

dfamil commented Jul 22, 2023


AttributeError Traceback (most recent call last)
Cell In[38], line 13
9 bag += [setGenericName(strat)]
12 # Evolution of the initial class
---> 13 e1 = Ecological(g, mem11)
14 e1.run()
16 evol=e1.historic

File ~/Dropbox/newGit/prisoners del/src/ipd.py:127, in Ecological.init(self, tournament, pop, max_iter)
125 self.max_iter = max_iter
126 self.tournament = tournament
--> 127 if not tournament.ran:
128 print("warning: running passed Tournament. This step may take a while.")
129 self.tournament.run()

AttributeError: 'Game' object has no attribute 'ran'

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant