Skip to content

Commit

Permalink
Merge pull request #36 from microbiomedata/scanon/fix_path_in_zip
Browse files Browse the repository at this point in the history
Fix file name for eukcc
  • Loading branch information
chienchi authored Jul 2, 2024
2 parents 582b976 + 459b903 commit bf6e44f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions mbin_nmdc.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ task finish_mags {
ln ~{heatmap} ~{prefix}_heatmap.pdf
ln ~{kronaplot} ~{prefix}_kronaplot.html
ln ~{ko_matrix} ~{prefix}_ko_matrix.txt
ln ~{eukcc_file} ~{prefix}_eukcc.csv
# cp all tarfiles, zip them under prefix, if empty touch no_mags.txt
mkdir -p hqmq
Expand All @@ -426,11 +427,11 @@ task finish_mags {
if [ ~{n_lq} -gt 0 ] ; then
(cd lq && cp ~{sep=" " lq_bin_tarfiles} .)
(cd lq && cp ~{mbin_sdb} .)
(cd lq && zip -j ../~{prefix}_lq_bin.zip *tar.gz mbin.sdb ~{eukcc_file} ../*pdf ../*kronaplot.html ../*ko_matrix.txt)
(cd lq && zip -j ../~{prefix}_lq_bin.zip *tar.gz mbin.sdb ~{prefix}_eukcc.csv ../*pdf ../*kronaplot.html ../*ko_matrix.txt)
else
(cd lq && touch no_lq_mags.txt)
(cd lq && cp ~{mbin_sdb} .)
(cd lq && zip ../~{prefix}_lq_bin.zip *.txt mbin.sdb ~{eukcc_file} )
(cd lq && zip ../~{prefix}_lq_bin.zip *.txt mbin.sdb ~{prefix}_eukcc.csv )
fi
# Fix up attribute name
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.3.2
v1.3.3

0 comments on commit bf6e44f

Please sign in to comment.