From aa1537b5dd3dca8a900075ea2c4833a109828892 Mon Sep 17 00:00:00 2001 From: SimpleArt <71458112+SimpleArt@users.noreply.github.com> Date: Fri, 20 Nov 2020 09:16:56 -0500 Subject: [PATCH] Fixed comment. --- src/structure/chromosome.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/structure/chromosome.py b/src/structure/chromosome.py index fecae9d..05624dd 100644 --- a/src/structure/chromosome.py +++ b/src/structure/chromosome.py @@ -83,8 +83,7 @@ class Chromosome: def index_of(self, searched_gene): - """Returns the index of the gene in the current chromosome. - Returns -1 if no index found.""" + """Returns the index of the gene in the current chromosome.""" return self.gene_list.index(searched_gene)