annotate image_content_plugin.xml @ 28:e99aaf069191 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:00:26 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28
e99aaf069191 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
1 <macros>
e99aaf069191 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[
e99aaf069191 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
e99aaf069191 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))
e99aaf069191 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)
e99aaf069191 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))
e99aaf069191 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' &&
e99aaf069191 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
8 #end for
e99aaf069191 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
9 ]]></token>
e99aaf069191 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">
e99aaf069191 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"/>
e99aaf069191 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
12 </xml>
e99aaf069191 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-->
e99aaf069191 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 7f250f4b9484eceef360ba62ef519c94b56c0b97
iuc
parents:
diff changeset
14 </macros>