changeset 1:c90127c2a1ae draft default tip

"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/clustergrammer_flow commit e47edffe14c2e8544fe0d00d932090657beae528"
author azomics
date Sun, 27 Jun 2021 22:13:16 +0000
parents fee56ee2f7ac
children
files clustergrammerIPG.py clustergrammerIPG.xml
diffstat 2 files changed, 11 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/clustergrammerIPG.py	Fri Jul 31 19:06:45 2020 -0400
+++ b/clustergrammerIPG.py	Sun Jun 27 22:13:16 2021 +0000
@@ -13,12 +13,15 @@
 
 
 from __future__ import print_function
+
+import os
 import sys
-import os
+
+from clustergrammer import Network
 
 from jinja2 import Environment, FileSystemLoader
+
 import pandas as pd
-from clustergrammer import Network
 
 
 def is_integer(s):
@@ -52,7 +55,8 @@
     return(output_list)
 
 
-def prepare_heatmap(matrix_input, html_file, html_dir, tools_dir, categories, distance, linkage):
+def prepare_heatmap(matrix_input, html_file, html_dir, tools_dir,
+                    categories, distance, linkage):
     # prepare directory and html
     os.mkdir(html_dir)
 
@@ -91,7 +95,7 @@
         }
 
         tmp_string = "-=-".join(args[8:])
-        print (tmp_string + "\n")
+        print(tmp_string + "\n")
         # get categories
         cats = tmp_string.split("-=-new_cat-=-")
         for cat in cats:
@@ -118,5 +122,5 @@
             categories[tmp_cat[0]].append(group)
             print(categories)
 
-
-    prepare_heatmap(args[1], args[2], args[3], args[4], categories, args[5], args[6])
+    prepare_heatmap(args[1], args[2], args[3],
+                    args[4], categories, args[5], args[6])
--- a/clustergrammerIPG.xml	Fri Jul 31 19:06:45 2020 -0400
+++ b/clustergrammerIPG.xml	Sun Jun 27 22:13:16 2021 +0000
@@ -1,4 +1,4 @@
-<tool id="clustergrammer_flow" name="Generate a heat map" version="1.1+galaxy0" profile="18.01">
+<tool id="clustergrammer_flow" name="Generate a heat map" version="1.1+galaxy1" profile="18.01">
   <description>of a flow analysis using Clustergrammer</description>
   <requirements>
     <requirement type="package" version="2.11.2">jinja2</requirement>