Mercurial > repos > bgruening > numeric_clustering
comparison numeric_clustering.xml @ 3:6bfbaf81b8f4 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/numeric_clustering commit adf077b912ddebd97b07b947b855cdd2862ed8ef-dirty
author | bgruening |
---|---|
date | Fri, 01 Jan 2016 13:14:03 -0500 |
parents | 1d465f2ebfad |
children | 7c1794e0f9c2 |
comparison
equal
deleted
inserted
replaced
2:1d465f2ebfad | 3:6bfbaf81b8f4 |
---|---|
34 </param> | 34 </param> |
35 </macro> | 35 </macro> |
36 </macros> | 36 </macros> |
37 <version_command>echo "@VERSION@"</version_command> | 37 <version_command>echo "@VERSION@"</version_command> |
38 <command><![CDATA[ | 38 <command><![CDATA[ |
39 cat "$cluster_script" >&2 | |
40 && | |
39 #import json | 41 #import json |
40 #set $params = dict() | 42 #set $params = dict() |
41 #for $key, $value in $algorithm_options.items(): | 43 #for $key, $value in $algorithm_options.items(): |
42 #if not $key.startswith('__') and $key.strip() != 'selected_algorithm' and str($value).strip(): | 44 #if not $key.startswith('__') and $key.strip() != 'selected_algorithm' and str($value).strip(): |
43 #if str($value).strip() == 'false': | 45 #if str($value).strip() == 'false': |
60 #end if | 62 #end if |
61 #end for | 63 #end for |
62 #set $json_string = json.dumps( $params ) | 64 #set $json_string = json.dumps( $params ) |
63 | 65 |
64 python "$cluster_script" '$json_string' | 66 python "$cluster_script" '$json_string' |
65 && | |
66 cat "$cluster_script" >&2 | |
67 | 67 |
68 ]]> | 68 ]]> |
69 </command> | 69 </command> |
70 <configfiles> | 70 <configfiles> |
71 <configfile name="cluster_script"> | 71 <configfile name="cluster_script"> |