make use of formerly implemented subprocess call routine
This commit is contained in:
		
							parent
							
								
									f01187615b
								
							
						
					
					
						commit
						952a2ea535
					
				| @ -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): | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user