diff data_manager/data_manager_snpEff_download.py @ 11:def511e8e005 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit 00d1775d87af54665ec1871f021bcec6b4b7a15a"
author iuc
date Tue, 24 Nov 2020 07:27:28 +0000
parents c6fbc5421697
children
line wrap: on
line diff
--- a/data_manager/data_manager_snpEff_download.py	Sun Nov 22 12:53:42 2020 +0000
+++ b/data_manager/data_manager_snpEff_download.py	Tue Nov 24 07:27:28 2020 +0000
@@ -129,7 +129,7 @@
         download_database(data_manager_dict, target_directory, genome_version, organism)
 
     # save info to json file
-    with open(filename, 'w'):
+    with open(filename, 'w') as fh:
         json.dump(data_manager_dict, fh, sort_keys=True)