Skip to content

Commit 6afeeff

Browse files
author
Hamid Gasmi
committed
#185 a typo is fixed
1 parent 13109fa commit 6afeeff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

09-problems/graph-algorithms-in-genome-sequencing/kmer_overlap_graph.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def _build_adjacency_list(self, patterns):
4040
def get_node_id(self, pattern):
4141

4242
is_new_node = False
43-
if pattern in self.nodes:
43+
if pattern in self.nodes_ids:
4444
node_id = self.nodes_ids[pattern]
4545
is_new_node = False
4646
else:

0 commit comments

Comments
 (0)