diff --git a/pylot/core/active/fmtomoUtils.py b/pylot/core/active/fmtomoUtils.py index 19be28b0..7fc5cfb6 100644 --- a/pylot/core/active/fmtomoUtils.py +++ b/pylot/core/active/fmtomoUtils.py @@ -50,13 +50,14 @@ class Tomo3d(object): def buildObsdata(self): p = subprocess.Popen(os.path.join(self.cwd, 'obsdata'), shell=True) - os.waitpid(p.pid) + p.wait() os.system('mv sources.in sourcesref.in') def defFMMParas(self): ''' Initiates parameters for the forward calculation. ''' + # Comments coppied from FMTOMO. # Name of fast marching program self.fmm = os.path.join(self.cwd, 'fm3d') # Name of program calculating Frechet derivatives