Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Commit

Permalink
changed array definition according to the syntax suggestion by @TCLam…
Browse files Browse the repository at this point in the history
  • Loading branch information
nevrome committed Jun 30, 2020
1 parent 5a43da4 commit 4dc3741
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion poseidon2_convert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ _ped2eig() {
_output_directory=${2}
_log_file_directory=${3}
# loop to get links to bed, bim and fam file
_file_list=()
unset _file_list
for extension in bed bim fam
do
_file_list+=($(find "${_input_package}/" -name "*.${extension}"))
Expand Down
4 changes: 2 additions & 2 deletions poseidon2_merge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ _janno_merge() {
_input_file=${1}
_output_file="${2}/${3}.janno"
# loop through all packages directories
_janno_files=()
unset _janno_files
while read p; do
# ignore empty names and lines starting with in the input dir list
case ${p} in
Expand Down Expand Up @@ -155,7 +155,7 @@ _create_order_file_from_fam_files() {
_input_file=${1}
_output_file=${2}
# loop through all packages directories
_fam_files=()
unset _fam_files
while read p; do
# ignore empty names and lines starting with in the input dir list
case ${p} in
Expand Down

0 comments on commit 4dc3741

Please sign in to comment.