make use of formerly implemented subprocess call routine

This commit is contained in:
Sebastian Wehling-Benatelli 2016-06-21 09:31:26 +02:00
parent f01187615b
commit 952a2ea535

View File

@ -4,7 +4,7 @@
import subprocess import subprocess
import os import os
from pylot.core.io.phases import writephases 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 from pylot.core.util.version import get_git_version as _getVersionString
__version__ = _getVersionString() __version__ = _getVersionString()
@ -79,7 +79,7 @@ def locate(call, fnin):
''' '''
# locate the event # locate the event
subprocess.call([call, fnin]) runProgram(call, fnin)
def readLocation(fn): def readLocation(fn):