From 8417375cd86c6ba2f29511964544a267ed883ccd Mon Sep 17 00:00:00 2001 From: AndreaGuarracino Date: Fri, 4 Sep 2020 11:34:38 +0200 Subject: sra script re-enabled, ready for tests --- scripts/create_sra_metadata/create_sra_metadata.py | 4 ++-- 1 file 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' -- cgit v1.2.3