diff data_manager/data_manager_manual.py @ 4:1ed87dee9e68 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:25 -0400
parents 31f44a9f507e
children 744f607fac50
line wrap: on
line diff
--- a/data_manager/data_manager_manual.py	Wed Oct 16 03:19:50 2019 -0400
+++ b/data_manager/data_manager_manual.py	Wed Oct 16 05:16:25 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)