aboutsummaryrefslogtreecommitdiffstats
path: root/parse/ft.py
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-04-12 15:12:22 -0400
committerJonathan Herman <hermanjl@cs.unc.edu>2013-04-12 15:12:22 -0400
commit7eb34b5312974f601d1117eeaf6393b9648be31c (patch)
tree838df63d06886bd3bbec560add8a1ac4ef4dd069 /parse/ft.py
parent09bc409657606a37346d82ab1e4c44a165bd3541 (diff)
Improved error handling in parse_ and plot_exps.py.
Diffstat (limited to 'parse/ft.py')
-rw-r--r--parse/ft.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/parse/ft.py b/parse/ft.py
index 98405f4..1f05323 100644
--- a/parse/ft.py
+++ b/parse/ft.py
@@ -71,7 +71,6 @@ def extract_ft_data(result, data_dir, work_dir, cycles):
71 71
72 bin_file = "{}/{}".format(data_dir, bins[0]) 72 bin_file = "{}/{}".format(data_dir, bins[0])
73 if not os.path.getsize(bin_file): 73 if not os.path.getsize(bin_file):
74 sys.stderr.write("Empty feather trace file %s!" % bin_file)
75 return False 74 return False
76 75
77 with open("%s/%s" % (work_dir, FT_ERR_NAME), 'w') as err_file: 76 with open("%s/%s" % (work_dir, FT_ERR_NAME), 'w') as err_file: