Ignore:
Timestamp:
02/21/24 16:51:42 (14 months ago)
Author:
Maciej Komosinski
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • framspy/FramsticksEvolution.py

    r1205 r1293  
    3232                default_evaluation_data = evaluation_data[""]
    3333                fitness = [default_evaluation_data[crit] for crit in OPTIMIZATION_CRITERIA]
    34         except (KeyError, TypeError) as e:  # the evaluation may have failed for an invalid genotype (such as X[@][@] with "Don't simulate genotypes with warnings" option) or for some other reason
     34        except (KeyError, TypeError) as e:  # the evaluation may have failed for an invalid genotype (such as X[@][@] with "Don't simulate genotypes with warnings" option), or because the creature failed to stabilize, or for some other reason
    3535                valid = False
    3636                print('Problem "%s" so could not evaluate genotype "%s", hence assigned it low fitness: %s' % (str(e), genotype, BAD_FITNESS))
     
    154154        print('Best individuals:')
    155155        for ind in hof:
    156                 print(ind.fitness, '\t-->\t', ind[0])
     156                print(ind.fitness, '\t<--\t', ind[0])
    157157        if parsed_args.hof_savefile is not None:
    158158                save_genotypes(parsed_args.hof_savefile, OPTIMIZATION_CRITERIA, hof)
Note: See TracChangeset for help on using the changeset viewer.