From a58db93901f11fe16bf26574bd573db6e5db95d4 Mon Sep 17 00:00:00 2001
From: Timo Millenaar <tmillenaar@gmail.com>
Date: Fri, 26 Jul 2024 11:58:01 +0200
Subject: [PATCH] Try srrcp instead of gfal-copy

---
 steps/fetch_data.cwl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/steps/fetch_data.cwl b/steps/fetch_data.cwl
index 0c8ad72..31cf265 100644
--- a/steps/fetch_data.cwl
+++ b/steps/fetch_data.cwl
@@ -31,7 +31,7 @@ requirements:
             echo "Downloading $turl with globus-url-copy"
             globus-url-copy $turl - | tar -xvf -
           else
-            echo "Downloading $1 with gfal-copy"
-            sudo ln -s /usr/bin/python3 /usr/bin/python
-            gfal-copy $1 - | tar -xvf -
+            echo "Downloading $1 with srmcp"
+            srmcp $1 file:////`pwd`/$(basename $1)
+            tar -xvf $(basename $1)
           fi
-- 
GitLab