Skip to content

Commit

Permalink
small bug in 4.0 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tubiana committed May 4, 2017
1 parent bb60f65 commit 586d748
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TrajectoryClustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

__author__ = "Thibault TUBIANA"
__version__ = "4.0"
__version__ = "4.0.1"
__copyright__ = "copyleft"
__license__ = "GNU GPLv3"
__date__ = "2016/11"
Expand Down Expand Up @@ -553,7 +553,7 @@ def create_cluster_table(traj,args):
cutoff=COORDS[0][1]
clustering_result = sch.fcluster(linkage, cutoff, "distance")

printScreenLogfile(" cutoff for clustering : {:.2f}".format(cutoff))
printScreenLogfile(" cutoff for clustering : {:.2f}".format(float(cutoff)))
return distances,clustering_result, linkage, cutoff


Expand Down

0 comments on commit 586d748

Please sign in to comment.