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

Changeset 7:5bcf0e24f42c (2020-05-14)
Previous changeset 6:f57426daa04d (2019-01-11) Next changeset 8:52b6a4d98009 (2020-11-22)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_gemini_database_downloader commit 73ea765822334d9afc2f7b2ef4ddfc1a3fd4289e"
modified:
data_manager/data_manager_gemini_download.py
b
diff -r f57426daa04d -r 5bcf0e24f42c data_manager/data_manager_gemini_download.py
--- a/data_manager/data_manager_gemini_download.py Fri Jan 11 17:33:55 2019 -0500
+++ b/data_manager/data_manager_gemini_download.py Thu May 14 05:08:26 2020 -0400
[
@@ -16,9 +16,9 @@
 
 def main():
     today = datetime.date.today()
-    params = json.loads( open( sys.argv[1] ).read() )
-    target_directory = params[ 'output_data' ][0]['extra_files_path']
-    os.mkdir( target_directory )
+    params = json.loads(open(sys.argv[1]).read())
+    target_directory = params['output_data'][0]['extra_files_path']
+    os.mkdir(target_directory)
 
     # Generate a minimal configuration file for GEMINI update
     # to instruct the tool to download the annotation data into a
@@ -39,7 +39,7 @@
         params['param_dict']['gerp_bp'],
         params['param_dict']['cadd']
     )
-    subprocess.check_call( cmd, shell=True, env=gemini_env )
+    subprocess.check_call(cmd, shell=True, env=gemini_env)
 
     # GEMINI tool wrappers that need access to the annotation files
     # are supposed to symlink them into a gemini/data subfolder of
@@ -83,8 +83,8 @@
     }
 
     # ... and save it to the json results file
-    with open( sys.argv[1], 'wb' ) as out:
-        out.write( json.dumps( data_manager_dict ) )
+    with open(sys.argv[1], 'w') as out:
+        out.write(json.dumps(data_manager_dict))
 
 
 if __name__ == "__main__":