Commit a7bea60f authored by Ryan Herbert's avatar Ryan Herbert Committed by Mikaël Salson
Browse files use correct prefix for extracting clones

due to the error in the prefix usage, we were extracting all clones from
the file instead of the top N, leading to horrendous performance issues.
parent f34fd3b2
......@@ -718,7 +718,7 @@ def main():
f = []
vparser = VidjilParser()
vparser.addPrefix('clones', '', le,
vparser.addPrefix('clones.item', '', le,
for path_name in files:
json_clones = vparser.extract(path_name)
clones = json.loads(json_clones)
Supports Markdown
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