Updated repr/str
This commit is contained in:
@ -70,7 +70,7 @@ class SQL_Database:
|
|||||||
# Structure the insert data
|
# Structure the insert data
|
||||||
db_chromosome_list = [(ga.current_generation,
|
db_chromosome_list = [(ga.current_generation,
|
||||||
chromosome.fitness,
|
chromosome.fitness,
|
||||||
chromosome.__str__())
|
repr(chromosome))
|
||||||
for chromosome in ga.population.get_chromosome_list() ]
|
for chromosome in ga.population.get_chromosome_list() ]
|
||||||
|
|
||||||
# Create sql query structure
|
# Create sql query structure
|
||||||
|
|||||||
Reference in New Issue
Block a user