Commit 5caabd5d authored by Ryan Herbert's avatar Ryan Herbert
Browse files

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 6b04f5dd
......@@ -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