Skip to content

Commit

Permalink
generalized web packing
Browse files Browse the repository at this point in the history
  • Loading branch information
Fattigman committed Jun 29, 2023
1 parent 22da17d commit fbe8025
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/pack_websummaries/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ process PACK_WEBSUMMARIES{
# append the file path and the sample name to the array
file_paths+=("$file")
dir=$(dirname "$file")
dir=$(dirname "$dir")
if ! [ $(dirname "$dir") == "per_sample_output" ]; then
dir=$(dirname "$dir")
fi
result=$(basename "$dir")
sample_names+=("$result")
echo $file $result
Expand Down

0 comments on commit fbe8025

Please sign in to comment.