diff --git a/test/scripts/compare_matrix_files.sh b/test/scripts/compare_matrix_files.sh index 58d9a0c9..9e02528e 100755 --- a/test/scripts/compare_matrix_files.sh +++ b/test/scripts/compare_matrix_files.sh @@ -38,7 +38,8 @@ function dump_table { args+=(--resolution "$resolution") fi - "$hictk" dump "${args[@]}" --table "$table" "$f" + # https://stackoverflow.com/a/61551944 + "$hictk" dump ${args[@]+"${args[@]}"} --table "$table" "$f" }