forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request galaxyproject#17294 from lldelisle/filter_paused
[24.0] Add ``__KEEP_SUCCESS_DATASETS__``
- Loading branch information
Showing
4 changed files
with
206 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<tool id="__KEEP_SUCCESS_DATASETS__" | ||
name="Keep success" | ||
version="1.0.0" | ||
tool_type="keep_success_datasets_collection"> | ||
<description></description> | ||
<type class="KeepSuccessDatasetsTool" module="galaxy.tools" /> | ||
<action module="galaxy.tools.actions.model_operations" | ||
class="ModelOperationToolAction"/> | ||
<edam_operations> | ||
<edam_operation>operation_3695</edam_operation> | ||
</edam_operations> | ||
<inputs> | ||
<param type="data_collection" collection_type="list,list:paired" name="input" label="Input Collection" /> | ||
</inputs> | ||
<outputs> | ||
<collection name="output" format_source="input" type_source="input" label="${on_string} (only successed datasets)" > | ||
</collection> | ||
</outputs> | ||
<tests> | ||
<!-- Test framework has no way of creating a collection with | ||
unsuccess elements, so best we can do is verify identity on | ||
an okay collection. | ||
--> | ||
<test> | ||
<param name="input"> | ||
<collection type="list"> | ||
<element name="e1" value="simple_line.txt" /> | ||
</collection> | ||
</param> | ||
<output_collection name="output" type="list"> | ||
<element name="e1"> | ||
<assert_contents> | ||
<has_text_matching expression="^This is a line of text.\n$" /> | ||
</assert_contents> | ||
</element> | ||
</output_collection> | ||
</test> | ||
</tests> | ||
<help><![CDATA[ | ||
======== | ||
Synopsis | ||
======== | ||
Keep datasets in success (green) from a collection. | ||
=========== | ||
Description | ||
=========== | ||
This tool takes a dataset collection and filters in (keep) datasets in the success (green) state. This is useful for continuing a multi-sample analysis when one of more of the samples fails or is in paused state. | ||
.. image:: ${static_path}/images/tools/collection_ops/keep_success.svg | ||
:width: 500 | ||
:alt: Keep success datasets | ||
----- | ||
.. class:: infomark | ||
This tool will create new history datasets from your collection but your quota usage will not increase. | ||
]]></help> | ||
</tool> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters