Repository 'data_manager_manual'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/data_manager_manual

Changeset 7:2445a874543a (2020-11-22)
Previous changeset 6:0bed5ee5b74a (2020-02-02) Next changeset 8:6a6a2e4cc222 (2021-01-06)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_manual commit 02d2967f77e3fa5a18aea63dc84aa9ab418dc165"
modified:
data_manager/data_manager_manual.py
b
diff -r 0bed5ee5b74a -r 2445a874543a data_manager/data_manager_manual.py
--- 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)