Skip to content

Commit

Permalink
Merge pull request #120 from JoseEspinosa/fixes
Browse files Browse the repository at this point in the history
Call gunzip by file to avoid too argument error
  • Loading branch information
JoseEspinosa authored Oct 3, 2023
2 parents 37ff17f + bc45cd6 commit 91868d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/local/download_pdbmmcif.nf
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ process DOWNLOAD_PDBMMCIF {
raw
echo "Unzipping all mmCIF files..."
find ./raw -type f -name '*.[gG][zZ]' -print0 | while IFS= read -r -d \$'\\0' file; do
gunzip "$file"
done
find ./raw -type f -name '*.[gG][zZ]' -exec gunzip {} \\;
echo "Flattening all mmCIF files..."
mkdir mmcif_files
Expand Down

0 comments on commit 91868d1

Please sign in to comment.