diff --git a/.vscode/settings.json b/.vscode/settings.json index 31e7ddfdf3472dbdd1b04dd753c498bc2995fd54..395ba2d31e295f66eef5e2bd3db334975a462037 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "python.pythonPath": "/Users/gauthierroy/anaconda3/bin/python" + "python.pythonPath": "D:\\Programmes\\Anaconda3\\python.exe" } \ No newline at end of file diff --git a/algogenetique.py b/algogenetique.py index a2c977b0ea7b69061d3bf6275614a6ffbe78ec29..faa9fa3b836503150d78ad1f900f93c851913d72 100644 --- a/algogenetique.py +++ b/algogenetique.py @@ -33,7 +33,6 @@ def main(N,tmax,pmutation, proportion,brin="plasmid_8k.fasta"): best,People = main(100,100,0.01,50) -test = Traj3D() -test.compute("AAAGGATCTTCTTGAGATCCTTTTTTTCTGCGCGTAATCTGCTGCCAGTAAACGAAAAAACCGCCTGGGGAGGCGGTTTAGTCGAA", best.table) -test.draw("first_plot") - +traj = Traj3D() +traj.compute(best.brin,best.table) +traj.draw("plot")