From bbcfb60e491e3425b5df9cd47c825920ce783037 Mon Sep 17 00:00:00 2001
From: Stefan Froehlich <s.froehlich@fz-juelich.de>
Date: Mon, 12 Oct 2015 15:03:44 +0000
Subject: [PATCH] Task #8525 Added the stepname in front of the output mapfiles
 from steps.

---
 CEP/Pipeline/recipes/sip/master/executable_args.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CEP/Pipeline/recipes/sip/master/executable_args.py b/CEP/Pipeline/recipes/sip/master/executable_args.py
index 5093d204604..b1521ed784e 100644
--- a/CEP/Pipeline/recipes/sip/master/executable_args.py
+++ b/CEP/Pipeline/recipes/sip/master/executable_args.py
@@ -366,8 +366,8 @@ class executable_args(BaseRecipe, RemoteCommandRecipeMixIn):
         #mapfile_dir = os.path.join(self.config.get("layout", "job_directory"), "mapfiles")
         for k, v in jobresultdict.items():
             dmap = DataMap(v)
-            dmap.save(os.path.join(mapfile_dir, k + '.mapfile'))
-            resultmap[k + '.mapfile'] = os.path.join(mapfile_dir, k + '.mapfile')
+            dmap.save(os.path.join(mapfile_dir, self.inputs['stepname'] + '.' + k + '.mapfile'))
+            resultmap[k + '.mapfile'] = os.path.join(mapfile_dir, self.inputs['stepname'] + '.' + k + '.mapfile')
         self.outputs.update(resultmap)
         # *********************************************************************
         # Check job results, and create output data map file
-- 
GitLab