Commit 57f2bdfb authored by Christian Rohlfing's avatar Christian Rohlfing
Browse files

Add docstring

parent a1b5659b
Pipeline #456335 passed with stage
in 1 minute and 58 seconds
......@@ -12,6 +12,17 @@ import utils.matnum as matnum_utils
def zip_folders(base_folder, zip_file, size_limit):
"""Zip folders in base folder. If size limit is exceeded, create next zip
file until all folders are zipped.
base_folder (str): path of base folder
zip_file (str): path of zip file
size_limit (int): size limit
int: number of zip files
# Initialize
zip_file_base = os.path.splitext(zip_file)[0]
Markdown is supported
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