cast plot_length to int
authorTony Mack <tmack@cs.princeton.edu>
Mon, 17 Dec 2007 18:52:04 +0000 (18:52 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Mon, 17 Dec 2007 18:52:04 +0000 (18:52 +0000)
node_ssh/nst.py

index ab4869f..90618e4 100644 (file)
@@ -312,8 +312,8 @@ def init_slice(config, all_nodes):
 def plot_fill_empty(config):
        #ticstep = 3600 # 1 hour
        #plotlength = 36000 # 10 hours
-       ticstep = 1800
-       plotlength = config.plot_length
+       ticstep = 3600
+       plotlength = int(config.plot_length)
        plots_path = config.plots_path
        
        all_nodes_filename = config.all_nodes_filename