Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alain Shakour
clowdflows
Commits
1a7e17f7
Commit
1a7e17f7
authored
Mar 16, 2015
by
Anze Vavpetic
Browse files
fix: mapper wasn`t runnable on windows machines
parent
a62647cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
workflows/mysql/mapper.py
View file @
1a7e17f7
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment