Mercurial > repos > iuc > data_manager_manual
diff data_manager/data_manager_manual.py @ 4:d17c507ec2f8 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_manual commit b775a4c6248f00430a9ab1b2a4e1afa255ac57a2"
| author | iuc |
|---|---|
| date | Wed, 16 Oct 2019 05:16:04 -0400 |
| parents | ee9a90a06e19 |
| children | 7f1bac9c4478 |
line wrap: on
line diff
--- a/data_manager/data_manager_manual.py Wed Oct 16 03:19:09 2019 -0400 +++ b/data_manager/data_manager_manual.py Wed Oct 16 05:16:04 2019 -0400 @@ -168,8 +168,8 @@ data_table_entries = get_data_table_entries(params['param_dict'], options.galaxy_data_manager_data_path) # save info to json file - with open(filename, 'wb') as fh: - fh.write(json.dumps({"data_tables": data_table_entries})) + with open(filename, 'w') as fh: + fh.write(json.dumps({"data_tables": data_table_entries}, sort_keys=True)) get_file_content(params['param_dict'], target_directory)
