Commit 1a7e17f7 authored by Anze Vavpetic's avatar Anze Vavpetic

fix: mapper wasn`t runnable on windows machines

parent a62647cf
......@@ -53,7 +53,7 @@ def domain_map(features, feature_format, train_context, test_context,
f = tempfile.NamedTemporaryFile(delete=False)
f.write(prolog_bk)
f.close()
cmd_args = ['%s/mapper.pl' % THIS_DIR, f.name, train_context.target_table]
cmd_args = ['yap', '-L', '--', '%s/mapper.pl' % THIS_DIR, f.name, train_context.target_table]
evaluations = subprocess.check_output(cmd_args)
dataset = dump_dataset(features, feature_format, evaluations,
train_context,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment