Skip to content

Commit 3149b75

Browse files
authored
Merge pull request #169 from galaxyecology/yvanlebras-patch-5
Update CRSconverter.R output.shp -> shapefile.shp
2 parents ce74877 + 2c40b68 commit 3149b75

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

tools/CRSConverter/CRSconverter.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ save_as_image_fun <- function(format){
3131

3232

3333
save_as_shp_fun <- function(){
34-
write_sf(Transformed_spacial_coordinates, "output.shp")
34+
write_sf(Transformed_spacial_coordinates, "shapefile.shp")
3535
}
3636

3737

tools/CRSConverter/CRSconverter.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<description>from environmental predictors for species distribution modeling</description>
33

44
<macros>
5-
<token name="@TOOL_VERSION@">1.0</token>
5+
<token name="@TOOL_VERSION@">1.1</token>
66
<token name="@VERSION_SUFFIX@">0</token>
77
</macros>
88

@@ -36,7 +36,7 @@
3636
#if $output_file_format == 'shp'
3737
&&
3838
mkdir -p '$shapefile.extra_files_path' &&
39-
mv output.* ${shapefile.extra_files_path}
39+
mv shapefile.* ${shapefile.extra_files_path}
4040
#else
4141
&& mv output.* '$output'
4242
#end if
@@ -129,10 +129,10 @@
129129
<param name ="output_file_format" value="shp"/>
130130

131131
<output file="shapefile/shapefile_shp.html" name="shapefile">
132-
<extra_files type="file" name="output.shp" value="shapefile/output.shp"/>
133-
<extra_files type="file" name="output.shx" value="shapefile/output.shx"/>
134-
<extra_files type="file" name="output.dbf" value="shapefile/output.dbf" compare="sim_size" delta="50"/>
135-
<extra_files type="file" name="output.prj" value="shapefile/output.prj"/>
132+
<extra_files type="file" name="shapefile.shp" value="shapefile/shapefile.shp"/>
133+
<extra_files type="file" name="shapefile.shx" value="shapefile/shapefile.shx"/>
134+
<extra_files type="file" name="shapefile.dbf" value="shapefile/shapefile.dbf" compare="sim_size" delta="50"/>
135+
<extra_files type="file" name="shapefile.prj" value="shapefile/shapefile.prj"/>
136136
</output>
137137
</test>
138138
<test expect_num_outputs="1">
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)