コード例 #1
0
ファイル: processFiles.py プロジェクト: JonnyCBB/eTrack
	def runPipeline1(self):
		self.p1 = pipe1(self.dir,self.pipe1FileName,self.jobName)
		outcome = self.p1.runPipeline()
		if outcome == 0:
			print 'Pipeline ran to completion'
			return True
		else:
			print 'Pipeline failed to run to completion'
			return False
コード例 #2
0
ファイル: processFiles.py プロジェクト: GarmanGroup/RIDL
	def runPipeline1(self):

		# run the first subroutine (CAD and SCALEIT run)

		self.p1 = pipe1(outputDir = self.mapProcessDir,
						inputFile = self.pipe1FileName,
						jobName   = self.jobName,
						log       = self.logFile)

		outcome = self.p1.runPipeline()
		if outcome == 0:
			ln = '---> Subroutine ran to completion.'
			self.logFile.writeToLog(str = ln)

			return True
		else:
			err = 'Subroutine failed to run to completion'
			self.writeError(text = err)
			return False