Mercurial > repos > iuc > data_manager_manual
changeset 7:2445a874543a draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_manual commit 02d2967f77e3fa5a18aea63dc84aa9ab418dc165"
author | iuc |
---|---|
date | Sun, 22 Nov 2020 12:50:40 +0000 |
parents | 0bed5ee5b74a |
children | 6a6a2e4cc222 |
files | data_manager/data_manager_manual.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/data_manager/data_manager_manual.py Sun Feb 02 17:34:49 2020 -0500 +++ b/data_manager/data_manager_manual.py Sun Nov 22 12:50:40 2020 +0000 @@ -162,14 +162,14 @@ filename = args[0] with open(filename) as fh: - params = json.loads(fh.read()) + params = json.load(fh) target_directory = params['output_data'][0]['extra_files_path'] data_table_entries = get_data_table_entries(params['param_dict'], options.galaxy_data_manager_data_path) # save info to json file with open(filename, 'w') as fh: - fh.write(json.dumps({"data_tables": data_table_entries}, sort_keys=True)) + json.dump({"data_tables": data_table_entries}, fh, sort_keys=True) get_file_content(params['param_dict'], target_directory)