aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)