Previous changeset 4:93253aebaf2e (2020-07-17) Next changeset 6:898b956719ee (2024-05-21) |
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_plant_tribes_scaffolds_downloader commit 02d2967f77e3fa5a18aea63dc84aa9ab418dc165" |
modified:
data_manager/data_manager_plant_tribes_scaffolds_download.py |
b |
diff -r 93253aebaf2e -r 1550b1741780 data_manager/data_manager_plant_tribes_scaffolds_download.py --- a/data_manager/data_manager_plant_tribes_scaffolds_download.py Fri Jul 17 04:19:35 2020 -0400 +++ b/data_manager/data_manager_plant_tribes_scaffolds_download.py Sun Nov 22 12:52:36 2020 +0000 |
[ |
@@ -115,7 +115,7 @@ args = parser.parse_args() with open(args.out_file) as fh: - params = json.loads(fh.read()) + params = json.load(fh) target_directory = params['output_data'][0]['extra_files_path'] make_directory(target_directory) @@ -128,4 +128,4 @@ data_manager_dict = download(target_directory, args.web_url, args.config_web_url, description) # Write the JSON output dataset. with open(args.out_file, 'w') as fh: - fh.write(json.dumps(data_manager_dict, sort_keys=True)) + json.dump(data_manager_dict, fh, sort_keys=True) |