Updated repr/str

This commit is contained in:
SimpleArt
2020-11-17 08:26:40 -05:00
parent e7b0e7071c
commit 55cb086745

View File

@ -70,7 +70,7 @@ class SQL_Database:
# Structure the insert data
db_chromosome_list = [(ga.current_generation,
chromosome.fitness,
chromosome.__str__())
repr(chromosome))
for chromosome in ga.population.get_chromosome_list() ]
# Create sql query structure