Skip to content

Commit

Permalink
include the commit in the tool version, add .lint_skip file to skip T…
Browse files Browse the repository at this point in the history
…oolVersionPEP404 error
  • Loading branch information
hugolefeuvre committed Dec 2, 2024
1 parent 2e2364d commit 816451e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
1 change: 1 addition & 0 deletions data_managers/data_manager_mmseqs2_database/.lint_skip
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ToolVersionPEP404
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<tool id="data_manager_mmseqs2_download" name="Download MMseqs2 databases" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" tool_type="manage_data" profile="22.05">
<description></description>
<macros>
<token name="@TOOL_VERSION@">15</token>
<token name="@TOOL_VERSION@">15.6f452</token>
<token name="@VERSION_SUFFIX@">0</token>
<token name="@COMMIT@">6f452</token>
<token name="@FULL_TOOL_VERSION@">@TOOL_VERSION@.@COMMIT@</token>
</macros>
<requirements>
<requirement type="package" version="@FULL_TOOL_VERSION@">mmseqs2</requirement>
<requirement type="package" version="@TOOL_VERSION@">mmseqs2</requirement>
</requirements>
<stdio>
<exit_code range=":-1" level="fatal" description="Error: Cannot open file"/>
Expand All @@ -32,10 +30,10 @@ cp '$dmjson' '$out_file'
"data_tables":{
"$data_table":[
{
"value": "${database}-@FULL_TOOL_VERSION@-#echo date.today().strftime('%d%m%Y')#",
"value": "${database}-@TOOL_VERSION@-#echo date.today().strftime('%d%m%Y')#",
"name": "${database} #echo date.today().strftime('%d%m%Y')#",
"path": "$database_name",
"version": "@FULL_TOOL_VERSION@"
"version": "@TOOL_VERSION@"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
UniProtKB/Swiss-Prot-15.6f452-21112024 UniProtKB/Swiss-Prot 21112024 /tmp/tmp7bz_wtyd/galaxy-dev/tool-data/mmseqs2/Swiss-Prot 15.6f452
UniProtKB/Swiss-Prot-15.6f452-02122024 UniProtKB/Swiss-Prot 02122024 /tmp/tmp2pnsc413/galaxy-dev/tool-data/mmseqs2/Swiss-Prot 15.6f452
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
SILVA-15.6f452-21112024 SILVA 21112024 /tmp/tmp7bz_wtyd/galaxy-dev/tool-data/mmseqs2/SILVA 15.6f452
SILVA-15.6f452-02122024 SILVA 02122024 /tmp/tmp2pnsc413/galaxy-dev/tool-data/mmseqs2/SILVA 15.6f452
1 change: 1 addition & 0 deletions tools/mmseqs2/.lint_skip
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ToolVersionPEP404
5 changes: 1 addition & 4 deletions tools/mmseqs2/macro.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<?xml version="1.0"?>
<macros>
<token name="@TOOL_VERSION@">15</token>
<token name="@TOOL_VERSION@">15.6f452</token>
<token name="@VERSION_SUFFIX@">0</token>
<!-- Remove token COMMIT and FULL_TOOL_VERSION if bioconda version fixed like 16 instead of 15.6f452 -->
<token name="@COMMIT@">6f452</token>
<token name="@FULL_TOOL_VERSION@">@TOOL_VERSION@.@COMMIT@</token>
<token name="@PROFILE@">22.05</token>
<xml name="version_command">
<version_command><![CDATA[mmseqs version]]></version_command>
Expand Down

0 comments on commit 816451e

Please sign in to comment.