Mercurial > repos > nml > combine_json
comparison combineJSON.py @ 1:661bc10b0612 draft default tip
planemo upload commit 67dd8ca7284a045d8b96fa2bcef60dd101693cca-dirty
author | nml |
---|---|
date | Fri, 13 Apr 2018 13:46:46 -0400 |
parents | 116510205617 |
children |
comparison
equal
deleted
inserted
replaced
0:116510205617 | 1:661bc10b0612 |
---|---|
20 parser = init_parser() | 20 parser = init_parser() |
21 args = parser.parse_args() | 21 args = parser.parse_args() |
22 input_files = args.i | 22 input_files = args.i |
23 json_file = [] | 23 json_file = [] |
24 | 24 |
25 if input_files is None or len(input_files) < 2: | 25 if input_files is None or len(input_files) < 1: |
26 print('Not enough input files. ' | 26 print('Not enough input files. ' |
27 'Please use -i filename.txt filename1.txt ' | 27 'Please use -i filename.txt filename1.txt ' |
28 'to combine JSON data files') | 28 'to combine JSON data files') |
29 sys.exit(0) | 29 sys.exit(0) |
30 | 30 |