Mercurial > repos > ecology > ecoregion_geonearestneighbor
changeset 4:1d225ca5fac0 draft default tip
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/Ecoregionalization_workflow commit ced658540f05bb07e1e687af30a3fa4ea8e4803c
author | ecology |
---|---|
date | Wed, 28 May 2025 10:12:52 +0000 |
parents | 4ed3e4f04b79 |
children | |
files | GeoNearestNeighbor.xml brt.R |
diffstat | 2 files changed, 13 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/GeoNearestNeighbor.xml Wed May 14 13:48:46 2025 +0000 +++ b/GeoNearestNeighbor.xml Wed May 28 10:12:52 2025 +0000 @@ -1,4 +1,4 @@ -<tool id="ecoregion_GeoNearestNeighbor" name="GeoNearestNeighbor" version="0.1.0+galaxy0" profile="21.05"> +<tool id="ecoregion_GeoNearestNeighbor" name="GeoNearestNeighbor" version="0.1.2+galaxy0" profile="23.2"> <description>Merge two data tables by finding the closest points based on latitude and longitude coordinates (WGS84 projection).</description> <requirements> <requirement type="package" version="4.3.2">r-base</requirement> @@ -34,12 +34,16 @@ </outputs> <tests> <test> - <param name="env" value="ceamarc_env.tsv"/> - <param name="envgeolat" value="2"/> - <param name="envgeolong" value="1"/> - <param name="occ" value="fish_wide.tsv"/> - <param name="occgeolat" value="1"/> - <param name="occgeolong" value="2"/> + <section name="env_file"> + <param name="env" value="ceamarc_env.tsv"/> + <param name="envgeolat" value="2"/> + <param name="envgeolong" value="1"/> + </section> + <section name="occ_file"> + <param name="occ" value="fish_wide.tsv"/> + <param name="occgeolat" value="1"/> + <param name="occgeolong" value="2"/> + </section> <output name='occ_env_out'> <assert_contents> <has_size value="2234" delta="50"/>
--- a/brt.R Wed May 14 13:48:46 2025 +0000 +++ b/brt.R Wed May 28 10:12:52 2025 +0000 @@ -21,8 +21,8 @@ enviro <- args[1] species_files <- args[2] abio_para <- args[3] - dec_env <- args[8] - dec_species <- args[9] + dec_env <- ifelse(args[8]=="Dot", ".", ",") + dec_species <- ifelse(args[9]=="Dot", ".", ",") } ### load data