From a6eaac6c339b67ed3b2494438b8eb97743f11f94 Mon Sep 17 00:00:00 2001 From: Marcel Paffrath Date: Tue, 24 May 2016 14:19:37 +0200 Subject: [PATCH] Changes during parallelization tests of autopicker --- pylot/core/active/fmtomoUtils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pylot/core/active/fmtomoUtils.py b/pylot/core/active/fmtomoUtils.py index eac6e8c4..d1c065bf 100644 --- a/pylot/core/active/fmtomoUtils.py +++ b/pylot/core/active/fmtomoUtils.py @@ -45,7 +45,8 @@ class Tomo3d(object): for name in tomo_files: filename = os.path.join(directory, name) - os.system('cp %s %s'%(filename, self.cwd)) + linkname = os.path.join(self.cwd, name) + os.system('ln -s %s %s'%(filename, linkname)) def buildObsdata(self): os.system('obsdata')