aboutsummaryrefslogtreecommitdiff
path: root/workflows/pull-data
diff options
context:
space:
mode:
authorPjotr Prins2021-01-08 01:48:14 -0600
committerPjotr Prins2021-01-08 01:48:14 -0600
commit5d941e47e27a3cd2c47f8ee51f5523d180f8a5b2 (patch)
tree76c73eae1b9e51d564297ef0eb82ae58ebbbedf2 /workflows/pull-data
parenta9964da4a9efb1b068f80c0b632d0cc7bf923c58 (diff)
downloadbh20-seq-resource-5d941e47e27a3cd2c47f8ee51f5523d180f8a5b2.tar.gz
bh20-seq-resource-5d941e47e27a3cd2c47f8ee51f5523d180f8a5b2.tar.lz
bh20-seq-resource-5d941e47e27a3cd2c47f8ee51f5523d180f8a5b2.zip
Set JSON indentation
Diffstat (limited to 'workflows/pull-data')
-rwxr-xr-xworkflows/pull-data/genbank/transform-genbank-xml2yamlfa.py2
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)