diff check.py @ 3:87ae77f2bd5a 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:58 +0000
parents 4de886e6300d
children
line wrap: on
line diff
--- a/check.py	Mon Nov 18 10:39:18 2024 +0000
+++ b/check.py	Thu Mar 20 14:49:58 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)