Browse Source

corrected most bugs !

nicolas-zimmermann 5 years ago
parent
commit
096225c793
1 changed files with 3 additions and 2 deletions
  1. 3 2
      debruijn/debruijn.py

+ 3 - 2
debruijn/debruijn.py View File

302
     pass
302
     pass
303
 
303
 
304
 def main():
304
 def main():
305
+    print(sys.argv[1])
305
     fichier = str(sys.argv[1])
306
     fichier = str(sys.argv[1])
306
-    k-size = int(sys.argv[2])
307
-    hash_table = build_kmer_dict(fichier, k-size)
307
+    k = int(sys.argv[2])
308
+    hash_table = build_kmer_dict(fichier, k)
308
     G = build_graph(hash_table)
309
     G = build_graph(hash_table)
309
     
310
     
310
     nb = 0
311
     nb = 0