Example #1
0
	def __init__(self, **keywords):
		"""
		2008-09-29
			add option min_LD_to_output and min_MAF
		"""
		from pymodule import ProcessOptions
		self.ad = ProcessOptions.process_function_arguments(keywords, self.option_default_dict, error_doc=self.__doc__, \
														class_to_have_attr=self)
		if self.individualSequenceIDList:
			self.individualSequenceIDList = getListOutOfStr(self.individualSequenceIDList, data_type=int)	
		
		# 2010-5-30
		#self.communicator = MPI.world.duplicate()
		self.communicator = MPI.COMM_WORLD
		MPI4pywrapper.__init__(self, self.communicator, debug=self.debug, report=self.report)
Example #2
0
	def __init__(self, **keywords):
		"""
		2008-09-29
			add option min_LD_to_output and min_MAF
		"""
		from pymodule import ProcessOptions
		self.ad = ProcessOptions.process_function_arguments(keywords, self.option_default_dict, error_doc=self.__doc__, \
														class_to_have_attr=self)
		if self.additionalArguments:	
			self.additionalArguments = self.additionalArguments.split()
		else:
			self.additionalArguments = []
		# 2010-5-30
		#self.communicator = MPI.world.duplicate()
		self.communicator = MPI.COMM_WORLD
		MPI4pywrapper.__init__(self, self.communicator, debug=self.debug, report=self.report)