Skip to content

Commit b17cc0d

Browse files
authored
Merge pull request #1611 from pavanvidem/biaftp-tif-to-tiff
biaftp change from tif to tiff
2 parents ae2dcf8 + 46e5e4e commit b17cc0d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

tools/image_processing/bia-ftplinks/biaftplink.xml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<tool id="bia_download" name="FTP Link for Bioimage Archive" version="@VERSION@+galaxy0" profile="22.05">
1+
<tool id="bia_download" name="FTP Link for Bioimage Archive" version="@VERSION@+galaxy1" profile="22.05">
22
<description>Download images from Bioimage Archive</description>
33
<macros>
44
<import>macros.xml</import>
@@ -7,7 +7,7 @@
77
<command detect_errors="aggressive">
88
<![CDATA[
99
curl -s https://www.ebi.ac.uk/biostudies/api/v1/studies/$accession/info | jq -r .ftpLink >> ftpLink.txt &&
10-
wget -q -r -l 0 -A "*.tif,*.png,*.jpg,*.zip" -i ftpLink.txt &&
10+
wget -q -r -l 0 -A "*.tiff,*.tif,*.png,*.jpg,*.zip" -i ftpLink.txt &&
1111
1212
find . -type f -name "*.zip" | while read zip_file; do
1313
unzip -o "\$zip_file" -d "\$(dirname "\$zip_file")";
@@ -20,8 +20,9 @@
2020
<param name="ftplink_output" type="boolean" label="Generate FTP links?" help="If set, a file containing FTP links associated with the accession will be generated." />
2121
</inputs>
2222
<outputs>
23-
<collection name="tif_images" type="list" label="${tool.name} on ${on_string}: TIF Images">
24-
<discover_datasets pattern="(?P&lt;designation&gt;.*)\.tif" format="tif" directory="ftp.ebi.ac.uk" recurse="true" />
23+
<collection name="tiff_images" type="list" label="${tool.name} on ${on_string}: TIFF Images">
24+
<discover_datasets pattern="(?P&lt;designation&gt;.*)\.tiff" format="tiff" directory="ftp.ebi.ac.uk" recurse="true" />
25+
<discover_datasets pattern="(?P&lt;designation&gt;.*)\.tif" format="tiff" directory="ftp.ebi.ac.uk" recurse="true" />
2526
</collection>
2627
<collection name="png_images" type="list" label="${tool.name} on ${on_string}: PNG Images">
2728
<discover_datasets pattern="(?P&lt;designation&gt;.*)\.png" format="png" directory="ftp.ebi.ac.uk" recurse="true" />
@@ -37,7 +38,7 @@
3738
<test expect_num_outputs='3'>
3839
<param name="accession" value="S-BIAD961" />
3940
<param name="ftplink_output" value="False" />
40-
<output_collection name="tif_images" type="list" count="1">
41+
<output_collection name="tiff_images" type="list" count="1">
4142
<element name="Study_Component-4_mznanog_mCherry-AAT">
4243
<assert_contents><has_size value="14092624" /></assert_contents>
4344
</element>
@@ -46,7 +47,7 @@
4647
<test expect_num_outputs='4'>
4748
<param name="accession" value="S-JCBD-201309038" />
4849
<param name="ftplink_output" value="True" />
49-
<output_collection name="tif_images" type="list" count="2">
50+
<output_collection name="tiff_images" type="list" count="2">
5051
<element name="JCB_STIL_serial">
5152
<assert_contents><has_size value="7446240" /></assert_contents>
5253
</element>
@@ -81,7 +82,7 @@
8182
<help>
8283
<![CDATA[
8384
**What it does**
84-
This tool downloads images from the Bioimage Archive and optionally outputs FTP links associated with the input accession. The tools currently supports downloading TIF, PNG and JPG formats that are supported by Galaxy.
85+
This tool downloads images from the Bioimage Archive and optionally outputs FTP links associated with the input accession. The tools currently supports downloading TIFF, PNG and JPG formats that are supported by Galaxy.
8586
]]>
8687
</help>
8788
<expand macro="citations" />

0 commit comments

Comments
 (0)