Skip to content

Commit

Permalink
run script: handle multiple input
Browse files Browse the repository at this point in the history
  • Loading branch information
Leila011 committed Aug 7, 2024
1 parent 8d1b485 commit 89aff1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/agat/agat_sp_complement_annotations/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

# Convert a list of file names to multiple -gff arguments
input_files=""
IFS=";" read -ra file_names <<< "$par_gff"
IFS=";" read -ra file_names <<< "$par_add"
for file in "${file_names[@]}"; do
input_files+="--gff $file "
input_files+="--add $file "
done
unset IFS

Expand Down

0 comments on commit 89aff1a

Please sign in to comment.