Mercurial > repos > ecology > crsconverter
changeset 1:4bcab54d19eb draft default tip
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/Phylodiversity_workflow commit 3149b752715a4097aa6f125cbcf291b2da106599
author | ecology |
---|---|
date | Sun, 25 May 2025 08:23:13 +0000 |
parents | d19c3cbbdd7e |
children | |
files | CRSconverter.R CRSconverter.xml test-data/shapefile/output.dbf test-data/shapefile/output.prj test-data/shapefile/output.shp test-data/shapefile/output.shx test-data/shapefile/shapefile.dbf test-data/shapefile/shapefile.prj test-data/shapefile/shapefile.shp test-data/shapefile/shapefile.shx |
diffstat | 10 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/CRSconverter.R Tue May 20 09:52:08 2025 +0000 +++ b/CRSconverter.R Sun May 25 08:23:13 2025 +0000 @@ -31,7 +31,7 @@ save_as_shp_fun <- function(){ - write_sf(Transformed_spacial_coordinates, "output.shp") + write_sf(Transformed_spacial_coordinates, "shapefile.shp") }
--- a/CRSconverter.xml Tue May 20 09:52:08 2025 +0000 +++ b/CRSconverter.xml Sun May 25 08:23:13 2025 +0000 @@ -2,7 +2,7 @@ <description>from environmental predictors for species distribution modeling</description> <macros> - <token name="@TOOL_VERSION@">1.0</token> + <token name="@TOOL_VERSION@">1.1</token> <token name="@VERSION_SUFFIX@">0</token> </macros> @@ -36,7 +36,7 @@ #if $output_file_format == 'shp' && mkdir -p '$shapefile.extra_files_path' && - mv output.* ${shapefile.extra_files_path} + mv shapefile.* ${shapefile.extra_files_path} #else && mv output.* '$output' #end if @@ -129,10 +129,10 @@ <param name ="output_file_format" value="shp"/> <output file="shapefile/shapefile_shp.html" name="shapefile"> - <extra_files type="file" name="output.shp" value="shapefile/output.shp"/> - <extra_files type="file" name="output.shx" value="shapefile/output.shx"/> - <extra_files type="file" name="output.dbf" value="shapefile/output.dbf" compare="sim_size" delta="50"/> - <extra_files type="file" name="output.prj" value="shapefile/output.prj"/> + <extra_files type="file" name="shapefile.shp" value="shapefile/shapefile.shp"/> + <extra_files type="file" name="shapefile.shx" value="shapefile/shapefile.shx"/> + <extra_files type="file" name="shapefile.dbf" value="shapefile/shapefile.dbf" compare="sim_size" delta="50"/> + <extra_files type="file" name="shapefile.prj" value="shapefile/shapefile.prj"/> </output> </test> <test expect_num_outputs="1">
--- a/test-data/shapefile/output.prj Tue May 20 09:52:08 2025 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -PROJCS["unknown",GEOGCS["GCS_unknown",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Latitude_Of_Origin",-90.0],UNIT["Meter",1.0]] \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/shapefile/shapefile.prj Sun May 25 08:23:13 2025 +0000 @@ -0,0 +1,1 @@ +PROJCS["unknown",GEOGCS["GCS_unknown",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Latitude_Of_Origin",-90.0],UNIT["Meter",1.0]] \ No newline at end of file