def get_editor():
    editor = os.environ.get("VISUAL")
    if not editor:
        editor = os.environ.get("EDITOR")
    if not editor:
        # Ask the user to choose, and store the answer so
        # that we never ask again
        ui.warning("Could not find the editor to use.")
        editor = qisys.interact.ask_program("Please enter an editor")
    return editor
The __repr__ of the Genome is that of the chromosome.
dataset/ETHPy150Open aldebaran/qibuild/python/qisys/interact.py/get_editor--crossover with--dataset/ETHPy150Open ntoll/foox/test/test_ga.py/TestGenome.test_repr