Commit f34fd3b2 authored by Ryan Herbert's avatar Ryan Herbert Committed by Mikaël Salson

fuse.py extract all fields form vidjil file

changes to vidjilparser.py allow us to simply extract the root of a json
file and still apply constraints to subfields, so we no longer need to
specify all the fields we need to extract.

See #3234
parent cda60bd2
......@@ -726,10 +726,8 @@ def main():
f = sorted(set(f))
vparser.reset()
vparser.addPrefix('reads')
vparser.addPrefix('')
vparser.addPrefix('clones.item', 'clones.item.id', (lambda x, y: x in y), f)
vparser.addPrefix('samples')
vparser.addPrefix('vidjil_json_version')
if args.multi:
for path_name in files:
json_reads = vparser.extract(path_name)
......
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