Niv Sardi commited on
Commit
da78e91
1 Parent(s): c92a751

imtool: bugfix

Browse files
Files changed (1) hide show
  1. python/imtool.py +1 -1
python/imtool.py CHANGED
@@ -107,7 +107,7 @@ def read_centroids(filename: str):
107
  return read_marker(filename, Centroid)
108
 
109
  def coord_dict_to_point(c: dict):
110
- return coord_to_point(c['x'], c['y'], c['width'], c['heigh'])
111
 
112
  def coord_to_point(cx, cy, cw, ch):
113
  x = math.floor(cx + cw/2)
 
107
  return read_marker(filename, Centroid)
108
 
109
  def coord_dict_to_point(c: dict):
110
+ return coord_to_point(c['x'], c['y'], c['width'], c['height'])
111
 
112
  def coord_to_point(cx, cy, cw, ch):
113
  x = math.floor(cx + cw/2)