Mercurial > repos > iuc > scanpy_cluster_reduce_dimension
diff cluster_reduce_dimension.xml @ 8:f74735a64736 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 7b8af82cb8a3438d2a6535986e357527e5c6efec"
| author | iuc |
|---|---|
| date | Tue, 16 Mar 2021 12:57:50 +0000 |
| parents | aab193557a1d |
| children | afdac2e27f1b |
line wrap: on
line diff
--- a/cluster_reduce_dimension.xml Wed May 20 12:20:33 2020 +0000 +++ b/cluster_reduce_dimension.xml Tue Mar 16 12:57:50 2021 +0000 @@ -3,7 +3,7 @@ <macros> <import>macros.xml</import> <xml name="pca_inputs"> - <param argument="n_comps" type="integer" min="0" value="50" label="Number of principal components to compute" help=""/> + <param argument="n_comps" type="integer" min="0" value="50" label="Number of principal components to compute" help="If the value is larger than the number of observations the number of observations is used instead"/> <param argument="dtype" type="text" value="float32" label="Numpy data type string to which to convert the result" help=""> <expand macro="sanitize_query" /> </param> @@ -46,7 +46,7 @@ ]]></token> <token name="@CMD_pca_params@"><![CDATA[ data=adata, - n_comps=$method.n_comps, + n_comps=min($method.n_comps, adata.n_vars), dtype='$method.dtype', copy=False, chunked=$method.pca.chunked, @@ -61,7 +61,7 @@ ]]></token> </macros> <expand macro="requirements"> - <requirement type="package" version="0.6.1">louvain</requirement> + <requirement type="package" version="0.7.0">louvain</requirement> </expand> <expand macro="version_command"/> <command detect_errors="exit_code"><