Skip to content

Commit 55ba2c9

Browse files
FMG0411SaimMomin12
andauthored
Bug fix: PanTA (#7357)
* panta_fix branch * Update file size in test --------- Co-authored-by: Saim Momin <[email protected]>
1 parent 7bd93f8 commit 55ba2c9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tools/panta/macros.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<macros>
22
<token name="@TOOL_VERSION@">1.0.1</token>
3-
<token name="@VERSION_SUFFIX@">0</token>
3+
<token name="@VERSION_SUFFIX@">1</token>
44
<token name="@PROFILE@">25.0</token>
55
<xml name="requirements">
66
<requirements>
@@ -27,4 +27,4 @@
2727
<person givenName="Saim" familyName="Momin" url="https://github.com/SaimMomin12"/>
2828
</creator>
2929
</xml>
30-
</macros>
30+
</macros>

tools/panta/panta.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
1414
#if $input_type.input_type_selector == "gff":
1515
#for gff in $input_type.input_gff
16-
#set identifier = re.sub('[^\s\w\-\\.]','_',str($gff.element_identifier))
17-
ln -fs '$gff' '$input_directory/$identifier' &&
16+
#set $filename = '%s.gff' % re.sub('[^\w_-]', '_', str($gff.element_identifier))
17+
cp '$gff' '$input_directory/$filename' &&
1818
#end for
1919
#elif $input_type.input_type_selector == "tsv":
20-
#set identifier = re.sub('[^\s\w\-\\.]','_',str($input_type.input_tsv.element_identifier))
21-
ln -fs '$input_type.input_tsv' '$input_directory/$identifier' &&
20+
#set $filename = '%s.tsv' % re.sub('[^\w_-]', '_', str($input_type.input_tsv.element_identifier))
21+
cp '$input_type.input_tsv' '$input_directory/$filename' &&
2222
#end if
2323
2424
#if $mode.select_mode == "main":
@@ -402,7 +402,7 @@
402402
</output>
403403
<output name="core_gene_alignment" ftype="txt">
404404
<assert_contents>
405-
<has_n_lines n="96690" delta='3'/>
405+
<has_n_lines n="96130" delta='3'/>
406406
</assert_contents>
407407
</output>
408408
<output name="pan_genome_reference" ftype="txt">
@@ -709,4 +709,4 @@ PanTA builds the pangenome of a large collection of genomes and adds a set of ne
709709
<citation type="doi">10.6084/m9.figshare.23724705</citation>
710710
</citations>
711711
<expand macro="creator"/>
712-
</tool>
712+
</tool>

0 commit comments

Comments
 (0)