Skip to content

Commit

Permalink
minor updates, work around for a pulsar bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Burhans committed Apr 18, 2024
1 parent 98a4dd4 commit 288c3e1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tools/segalign/diagonal_partition.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python

"""
Diagonal partitioning for segment files output by SegAlign.
Expand Down
2 changes: 1 addition & 1 deletion tools/segalign/macros.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</requirements>
</xml>
<token name="@TOOL_VERSION@">0.1.2.1</token>
<token name="@VERSION_SUFFIX@">0</token>
<token name="@VERSION_SUFFIX@">1</token>
<token name="@PROFILE@">21.05</token>
<xml name="edam_ontology">
<edam_operations>
Expand Down
1 change: 0 additions & 1 deletion tools/segalign/run_segalign_diagonal_partition
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
set -o errexit
set -o nounset
set -o pipefail
#set -o xtrace

##
## parse arguments
Expand Down
4 changes: 3 additions & 1 deletion tools/segalign/segalign.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ OMP_THREAD_LIMIT=\${GALAXY_SLOTS:-2}
#if str($mode.mode_selector) == "segalign"
#if str($mode.diagonal_partition_options.diagonal_partition) == "true"
#set $segalign_mode = "segalign_diagonal_partition"
'$__tool_directory__/run_segalign_diagonal_partition'
## explicitly calling bash to bypass a pulsar bug
## https://github.com/galaxyproject/pulsar/issues/341
bash '$__tool_directory__/run_segalign_diagonal_partition'
--tool_directory '$__tool_directory__'
--max_segments '$mode.diagonal_partition_options.max_segments'
#else
Expand Down

0 comments on commit 288c3e1

Please sign in to comment.