aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2012-11-18 17:39:01 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2012-11-18 17:39:01 +0100
commit36dcc83ca91af080431d96e04ab977824c60f6dd (patch)
treee9bc911992d7845793278beee63130a4831ee2c0 /source
parentTest with tanimoto distance. (diff)
downloadnewspipe-36dcc83ca91af080431d96e04ab977824c60f6dd.tar.gz
newspipe-36dcc83ca91af080431d96e04ab977824c60f6dd.tar.bz2
newspipe-36dcc83ca91af080431d96e04ab977824c60f6dd.zip
mb:68e2ad40-1fd7-4939-953f-fd4cdf19803b
Diffstat (limited to 'source')
-rwxr-xr-xsource/clusters.py4
-rw-r--r--source/testclusters.py5
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')
bgstack15