Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mateusz Pawlik
ted-experiments
Commits
0406cac0
Commit
0406cac0
authored
Jan 11, 2019
by
Thomas Huetter
Browse files
fix in join algs cc
parent
37c55f48
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/join_algs/join_algs_experiments.py
View file @
0406cac0
...
...
@@ -145,14 +145,14 @@ def main():
"reference_set_size"
:
a
[
'reference_set_size'
],
"reference_set_id"
:
a
[
'reference_set_id'
]
}
cmd
.
extend
((
binary_name
,
d
,
str
(
t
),
a
[
'name'
],
a
[
'verification_algorithm'
],
""
,
""
,
a
[
'reference_set_size'
]))
cmd
.
extend
((
binary_name
,
d
,
str
(
t
),
a
[
'name'
],
a
[
'verification_algorithm'
],
""
,
""
,
a
[
'reference_set_size'
]
,
a
[
'reference_set_id'
]
))
elif
a
[
'name'
]
==
'guha_rsc_join'
:
algorithm_params
=
{
"verification_algorithm"
:
a
[
'verification_algorithm'
],
"reference_set_size"
:
a
[
'reference_set_size'
],
"reference_set_id"
:
a
[
'reference_set_id'
]
}
cmd
.
extend
((
binary_name
,
d
,
str
(
t
),
a
[
'name'
],
a
[
'verification_algorithm'
],
""
,
""
,
a
[
'reference_set_size'
]))
cmd
.
extend
((
binary_name
,
d
,
str
(
t
),
a
[
'name'
],
a
[
'verification_algorithm'
],
""
,
""
,
a
[
'reference_set_size'
]
,
a
[
'reference_set_id'
]
))
cmd_output
=
get_stdout_cmd
(
cmd
).
strip
()
result_data
=
json
.
loads
(
cmd_output
.
decode
(
'utf-8'
))
result_data
.
update
(
fixed_values
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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