From 952a2ea5354f5d92ebc3a3245904822e3c6acdc2 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Tue, 21 Jun 2016 09:31:26 +0200 Subject: [PATCH] make use of formerly implemented subprocess call routine --- pylot/core/loc/nll.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylot/core/loc/nll.py b/pylot/core/loc/nll.py index 956e8e50..b5a5522a 100644 --- a/pylot/core/loc/nll.py +++ b/pylot/core/loc/nll.py @@ -4,7 +4,7 @@ import subprocess import os from pylot.core.io.phases import writephases -from pylot.core.util.utils import getPatternLine +from pylot.core.util.utils import getPatternLine, runProgram from pylot.core.util.version import get_git_version as _getVersionString __version__ = _getVersionString() @@ -79,7 +79,7 @@ def locate(call, fnin): ''' # locate the event - subprocess.call([call, fnin]) + runProgram(call, fnin) def readLocation(fn):