Skip to content

Commit

Permalink
Wf archive (#122)
Browse files Browse the repository at this point in the history
* add tgz extension
  • Loading branch information
nagoue committed Jan 6, 2021
1 parent fb4fd6f commit 853f0ea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions biomaj/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1663,9 +1663,7 @@ def wf_uncompress(self):
nb_try = 1
origFile = self.session.get_offline_directory() + '/' + file['save_as']
is_archive = False
if origFile.endswith('.tar.gz'):
is_archive = True
elif origFile.endswith('.tar'):
if origFile.endswith(('.tar.gz', '.tar', '.tgz')):
is_archive = True
elif origFile.endswith('.bz2'):
is_archive = True
Expand Down

0 comments on commit 853f0ea

Please sign in to comment.