Commit 46ed4630 authored by Claire Kuchly's avatar Claire Kuchly
Browse files

Bug on zip test

parent eed5b9d7
......@@ -551,12 +551,11 @@ class Analysis (Component):
if not os.path.isdir(self.__get_work_directory()):
os.makedirs(self.__get_work_directory(), 0o751)
# First copy the file into the analysis directory
if os.path.isfile(file) :
if file_name == None:
file_name = os.path.basename(file)
if gzip :
if gzip is True :
file = Utils.gzip(file, self.__get_work_directory(), delete=False)
file_name = os.path.basename(file)
else :
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment