diff options
author | Pjotr Prins | 2021-01-08 01:48:14 -0600 |
---|---|---|
committer | Pjotr Prins | 2021-01-08 01:48:14 -0600 |
commit | 5d941e47e27a3cd2c47f8ee51f5523d180f8a5b2 (patch) | |
tree | 76c73eae1b9e51d564297ef0eb82ae58ebbbedf2 | |
parent | a9964da4a9efb1b068f80c0b632d0cc7bf923c58 (diff) | |
download | bh20-seq-resource-5d941e47e27a3cd2c47f8ee51f5523d180f8a5b2.tar.gz bh20-seq-resource-5d941e47e27a3cd2c47f8ee51f5523d180f8a5b2.tar.lz bh20-seq-resource-5d941e47e27a3cd2c47f8ee51f5523d180f8a5b2.zip |
Set JSON indentation
-rwxr-xr-x | workflows/pull-data/genbank/transform-genbank-xml2yamlfa.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/workflows/pull-data/genbank/transform-genbank-xml2yamlfa.py b/workflows/pull-data/genbank/transform-genbank-xml2yamlfa.py index 1f7a428..3b9813c 100755 --- a/workflows/pull-data/genbank/transform-genbank-xml2yamlfa.py +++ b/workflows/pull-data/genbank/transform-genbank-xml2yamlfa.py @@ -54,7 +54,7 @@ for xmlfn in args.files: jsonfn = basename + ".json" with open(jsonfn, 'w') as outfile: print(f" writing {jsonfn}") - json.dump(meta, outfile, indent=4) + json.dump(meta, outfile, indent=2) # --- write FASTA fa = basename+".fa" seq = genbank.get_sequence(id,gb) |