From a6141e5de6608d50657a5daf83de0e131e5c1273 Mon Sep 17 00:00:00 2001 From: Victor Chahuneau Date: Fri, 3 Aug 2012 14:55:18 -0400 Subject: [python] Fix some details in cdec.sa tools --- python/pkg/cdec/sa/compile.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'python/pkg/cdec/sa/compile.py') diff --git a/python/pkg/cdec/sa/compile.py b/python/pkg/cdec/sa/compile.py index 2a89243b..393c72a4 100644 --- a/python/pkg/cdec/sa/compile.py +++ b/python/pkg/cdec/sa/compile.py @@ -93,11 +93,11 @@ def main(): # Write configuration config = cdec.configobj.ConfigObj(args.config, unrepr=True) - config['f_sa_file'] = f_sa_bin - config['e_file'] = e_bin - config['a_file'] = a_bin - config['lex_file'] = lex_bin - config['precompute_file'] = precomp_bin + config['f_sa_file'] = os.path.abspath(f_sa_bin) + config['e_file'] = os.path.abspath(e_bin) + config['a_file'] = os.path.abspath(a_bin) + config['lex_file'] = os.path.abspath(lex_bin) + config['precompute_file'] = os.path.abspath(precomp_bin) for name, value in zip(param_names, params): config[name] = value config.write() -- cgit v1.2.3