annotate image_content_plugin.xml @ 28:31c42a2c02d3 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
author iuc
date Wed, 19 Feb 2025 16:01:14 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
1 <macros>
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
2 <token name="@IMAGE_CONTENT_COMMAND@"><![CDATA[
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
3 #for $file in $image_content_input
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
4 #set identifier = re.sub('[^\s\w\-\.]', '_', str($file.element_identifier))
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
5 #set file_parts = str($file.element_identifier).rsplit('.', 1)
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
6 #set file_path = os.path.join('multiqc_WDir/', file_parts[0] + '_mqc.' + str($file.ext))
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
7 ln -s '$file' '$file_path' &&
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
8 #end for
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
9 ]]></token>
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
10 <xml name="image_content_form">
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
11 <param name="image_content_input" type="data" format="png,jpg,gif,tiff" multiple="true" label="Image content" help="Images to be added to the MutliQC HTML report" optional="true"/>
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
12 </xml>
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
13 <!--Test can be found in porechop_plugin.xml-->
31c42a2c02d3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
14 </macros>