diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-11-18 17:39:01 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-11-18 17:39:01 +0100 |
commit | 36dcc83ca91af080431d96e04ab977824c60f6dd (patch) | |
tree | e9bc911992d7845793278beee63130a4831ee2c0 /source | |
parent | Test with tanimoto distance. (diff) | |
download | newspipe-36dcc83ca91af080431d96e04ab977824c60f6dd.tar.gz newspipe-36dcc83ca91af080431d96e04ab977824c60f6dd.tar.bz2 newspipe-36dcc83ca91af080431d96e04ab977824c60f6dd.zip |
mb:68e2ad40-1fd7-4939-953f-fd4cdf19803b
Diffstat (limited to 'source')
-rwxr-xr-x | source/clusters.py | 4 | ||||
-rw-r--r-- | source/testclusters.py | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/source/clusters.py b/source/clusters.py index bdfebe6e..02766bdf 100755 --- a/source/clusters.py +++ b/source/clusters.py @@ -1,4 +1,6 @@ -# -*- coding: utf-8 -*-
+#! /usr/bin/env python
+#-*- coding: utf-8 -*-
+
import random
from math import sqrt
diff --git a/source/testclusters.py b/source/testclusters.py index a16d3492..728e9c1b 100644 --- a/source/testclusters.py +++ b/source/testclusters.py @@ -1,4 +1,5 @@ -# -*- coding: utf-8 -*- +#! /usr/bin/env python +#-*- coding: utf-8 -*- import clusters @@ -20,4 +21,4 @@ for i in range(K): -clusters.draw2d(coords,blognames,jpeg='mds2d.jpg')
\ No newline at end of file +clusters.draw2d(coords,blognames,jpeg='mds2d.jpg') |