Spaces:
Runtime error
Runtime error
Tweak output zip filename
Browse files- run_utils.py +1 -1
run_utils.py
CHANGED
@@ -92,7 +92,7 @@ def run_cli_command(
|
|
92 |
# Generate a unique filename using a timestamp and a UUID
|
93 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
94 |
uuid_tag = str(uuid.uuid4())[0:8]
|
95 |
-
unique_filename = f"
|
96 |
zip_base_name = os.path.join("tmp", unique_filename)
|
97 |
full_zip_path = shutil.make_archive(zip_base_name, "zip", temp_dir)
|
98 |
|
|
|
92 |
# Generate a unique filename using a timestamp and a UUID
|
93 |
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
94 |
uuid_tag = str(uuid.uuid4())[0:8]
|
95 |
+
unique_filename = f"diffdock_pocket_output_{timestamp}_{uuid_tag}"
|
96 |
zip_base_name = os.path.join("tmp", unique_filename)
|
97 |
full_zip_path = shutil.make_archive(zip_base_name, "zip", temp_dir)
|
98 |
|