Skip to content

Commit

Permalink
Merge branch 'dev' into feature/retain_final_speclib
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaezp authored Oct 25, 2023
2 parents f62baf1 + d49a1de commit 2c3a6b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ testing*
/build/
results*/
venv/
node_modules
conversion_inputs
debug_dir
test_out

lint_log.txt
4 changes: 2 additions & 2 deletions modules/local/decompress_dotd/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ process DECOMPRESS {
tar --help 2>&1 | tee -a ${prefix}_decompression.log
gunzip --help 2>&1 | tee -a ${prefix}_decompression.log
unzip --help 2>&1 | tee -a ${prefix}_decompression.log
(unzip --help 2>&1 || zip --help 2>&1) | tee -a ${prefix}_decompression.log
echo "Unpacking..." | tee -a ${compressed_file.baseName}_decompression.log
extract ${compressed_file} 2>&1 | tee -a ${compressed_file.baseName}_conversion.log
Expand All @@ -73,7 +73,7 @@ process DECOMPRESS {
"${task.process}":
gunzip: \$(gunzip --help 2>&1 | head -1 | grep -oE "\\d+\\.\\d+(\\.\\d+)?")
tar: \$(tar --help 2>&1 | head -1 | grep -oE "\\d+\\.\\d+(\\.\\d+)?")
unzip: \$(unzip --help | head -2 | tail -1 | grep -oE "\\d+\\.\\d+")
unzip: \$((unzip --help 2>&1 || zip --help 2>&1) | head -2 | tail -1 | grep -oE "\\d+\\.\\d+")
END_VERSIONS
"""
}

0 comments on commit 2c3a6b5

Please sign in to comment.