Skip to content

Commit

Permalink
Fix wrong datatable name in metaphan DM (#6318)
Browse files Browse the repository at this point in the history
* fix wron datatable name in metaphan DM

* Apply suggestions from code review

Co-authored-by: Bérénice Batut <berenice.batut@gmail.com>

---------

Co-authored-by: Bérénice Batut <berenice.batut@gmail.com>
  • Loading branch information
bernt-matthias and bebatut authored Sep 10, 2024
1 parent cba0815 commit e8ac361
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<description></description>
<macros>
<token name="@TOOL_VERSION@">4.0.6</token>
<token name="@VERSION_SUFFIX@">3</token>
<token name="@VERSION_SUFFIX@">4</token>
</macros>
<requirements>
<requirement type="package" version="@TOOL_VERSION@">metaphlan</requirement>
Expand All @@ -20,7 +20,7 @@
#from datetime import date
{
"data_tables":{
"genomad":[
"metaphlan_database_versioned":[
{
"dbkey": "$index",
"value": "${index}-#echo date.today().strftime('%d%m%Y')#",
Expand Down Expand Up @@ -56,6 +56,7 @@
<param name="index" value="mpa_vJan21_TOY_CHOCOPhlAnSGB_202103"/>
<output name="out_file">
<assert_contents>
<has_text text='"metaphlan_database_versioned":'/>
<has_text text='"db_version": "SGB"'/>
<has_text text='"dbkey": "mpa_vJan21_TOY_CHOCOPhlAnSGB_202103"'/>
<has_text_matching expression='"value": "mpa_vJan21_TOY_CHOCOPhlAnSGB_202103-[0-9]{8}"'/>
Expand Down

0 comments on commit e8ac361

Please sign in to comment.