Skip to content

Commit

Permalink
add set -eo pipefail to test
Browse files Browse the repository at this point in the history
  • Loading branch information
Leila011 committed Aug 19, 2024
1 parent e7bdd68 commit 8c32ea3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions src/agat/agat_convert_genscan2gff/script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

set -eo pipefail

## VIASH START
## VIASH END

# unset flags
[[ "$par_inflate_off" == "true" ]] && unset par_inflate_off
[[ "$par_verbose" == "false" ]] && unset par_verbose

# run agat_convert_genscan2gff
agat_convert_genscan2gff.pl \
--genscan "$par_genscan" \
--output "$par_output" \
${par_source:+--source "${par_source}"} \
${par_primary_tag:+--primary_tag "${par_primary_tag}"} \
${par_inflate_off:+--inflate_off} \
${par_inflate_type:+--inflate_type "${par_inflate_type}"} \
${par_verbose:+--verbose} \
${par_config:+--config "${par_config}"}
2 changes: 1 addition & 1 deletion src/agat/agat_sp_add_introns/test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -e
set -eo pipefail

## VIASH START
## VIASH END
Expand Down

0 comments on commit 8c32ea3

Please sign in to comment.