aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndreaGuarracino2020-09-04 11:34:38 +0200
committerAndreaGuarracino2020-09-04 11:34:38 +0200
commit8417375cd86c6ba2f29511964544a267ed883ccd (patch)
treeade90f75e8230cf045ea5942caa53a7e5d9ae550 /scripts
parent327b6db4e7c9ceda190617f2a793e6a646bb30cc (diff)
downloadbh20-seq-resource-8417375cd86c6ba2f29511964544a267ed883ccd.tar.gz
bh20-seq-resource-8417375cd86c6ba2f29511964544a267ed883ccd.tar.lz
bh20-seq-resource-8417375cd86c6ba2f29511964544a267ed883ccd.zip
sra script re-enabled, ready for tests
Diffstat (limited to 'scripts')
-rw-r--r--scripts/create_sra_metadata/create_sra_metadata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/create_sra_metadata/create_sra_metadata.py b/scripts/create_sra_metadata/create_sra_metadata.py
index 7e0fc83..8866d01 100644
--- a/scripts/create_sra_metadata/create_sra_metadata.py
+++ b/scripts/create_sra_metadata/create_sra_metadata.py
@@ -328,8 +328,8 @@ for i, EXPERIMENT_PACKAGE in enumerate(EXPERIMENT_PACKAGE_SET):
if accession not in not_created_accession_dict:
num_yaml_created += 1
- #with open(os.path.join(dir_yaml, '{}.yaml'.format(accession)), 'w') as fw:
- # json.dump(info_for_yaml_dict, fw, indent=2)
+ with open(os.path.join(dir_yaml, '{}.yaml'.format(accession)), 'w') as fw:
+ json.dump(info_for_yaml_dict, fw, indent=2)
if len(missing_value_list) > 0:
path_missing_terms_tsv = 'missing_terms.sra.tsv'