Skip to content

Commit f918b35

Browse files
authored
Merge pull request #7885 from bernt-matthias/metabat2_coverage_threads
metabat2: fix linter issues
2 parents 2473540 + f84d7bb commit f918b35

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

tools/metabat2/.lint_skip

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/metabat2/macros.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<macros>
22
<token name="@TOOL_VERSION@">2.17</token>
3-
<token name="@VERSION_SUFFIX@">0</token>
4-
<token name="@PROFILE@">21.01</token>
3+
<token name="@VERSION_SUFFIX@">1</token>
4+
<token name="@PROFILE@">24.2</token>
55
<xml name="biotools">
66
<xrefs>
77
<xref type="bio.tools">MetaBAT_2</xref>

tools/metabat2/metabat2.xml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,19 @@ metabat2
9090
<discover_datasets pattern="bin\.(?P&lt;designation&gt;\d*)" format="tabular" directory="bins"/>
9191
</collection>
9292
<data name="lowDepth" format="fasta" from_work_dir="bins/bin.lowDepth.fa" label="${tool.name} on ${on_string}: Low depth bins">
93-
<filter>not out['saveCls'] and not out['onlyLabel'] and 'lowDepth' in out['extra_outputs']</filter>
93+
<filter>not out['saveCls'] and not out['onlyLabel']</filter>
94+
<filter>out['extra_outputs'] and 'lowDepth' in out['extra_outputs']</filter>
9495
</data>
9596
<data name="tooShort" format="fasta" from_work_dir="bins/bin.tooShort.fa" label="${tool.name} on ${on_string}: Too short bins">
96-
<filter>not out['saveCls'] and not out['onlyLabel'] and 'tooShort' in out['extra_outputs']</filter>
97+
<filter>not out['saveCls'] and not out['onlyLabel']</filter>
98+
<filter>out['extra_outputs'] and 'tooShort' in out['extra_outputs']</filter>
9799
</data>
98100
<data name="unbinned" format="fasta" from_work_dir="bins/bin.unbinned.fa" label="${tool.name} on ${on_string}: Unbinned sequences">
99-
<filter>not out['saveCls'] and not out['onlyLabel'] and 'unbinned' in out['extra_outputs']</filter>
101+
<filter>not out['saveCls'] and not out['onlyLabel']</filter>
102+
<filter>out['extra_outputs'] and 'unbinned' in out['extra_outputs']</filter>
100103
</data>
101104
<data name="process_log" format="txt" label="${tool.name} on ${on_string}: Process log">
102-
<filter>'log' in out['extra_outputs']</filter>
105+
<filter>out['extra_outputs'] and 'log' in out['extra_outputs']</filter>
103106
</data>
104107
</outputs>
105108
<tests>
@@ -165,7 +168,7 @@ metabat2
165168
<section name="out">
166169
<param name="onlyLabel" value="false"/>
167170
<param name="saveCls" value="false"/>
168-
<param name="extra_outputs" value=""/>
171+
<param name="extra_outputs" value_json="null"/>
169172
</section>
170173
<output_collection name="bins" type="list" count="0"/>
171174
</test>
@@ -180,7 +183,7 @@ metabat2
180183
<section name="out">
181184
<param name="onlyLabel" value="false"/>
182185
<param name="saveCls" value="true"/>
183-
<param name="extra_outputs" value=""/>
186+
<param name="extra_outputs" value_json="null"/>
184187
</section>
185188
<output name="bin_saveCls" ftype="tabular">
186189
<assert_contents>
@@ -201,7 +204,7 @@ metabat2
201204
<section name="out">
202205
<param name="onlyLabel" value="true"/>
203206
<param name="saveCls" value="false"/>
204-
<param name="extra_outputs" value=""/>
207+
<param name="extra_outputs" value_json="null"/>
205208
</section>
206209
<output_collection name="bin_onlyLabel" type="list" count="2">
207210
<element name="1" ftype="tabular">

0 commit comments

Comments
 (0)