changeset 2:231179dea9dd draft default tip

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/ocean commit ecc01d1975d2a603ece634c6cfe2d9591b307cc8
author ecology
date Thu, 20 Mar 2025 14:49:44 +0000
parents 77787acbd793
children
files check.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/check.py	Tue Oct 22 15:55:01 2024 +0000
+++ b/check.py	Thu Mar 20 14:49:44 2025 +0000
@@ -76,6 +76,10 @@
         print(error_message)
         sys.exit(1)
 
+    # Append '--force-download' option to the command
+    if "--force-download" not in command:
+        command += " --force-download"
+
     # Execute the command
     try:
         subprocess.run(command, shell=True, check=True)