Example #1
0
File: reader.py Project: bbglab/wok
	def _parse_exec(self, xmle):
		execution = Exec()
		
		if "launcher" in xmle.attrib:
			execution.mode = xmle.attrib["launcher"].lower()
			if execution.mode == "python":
				execution.mode = "native"

		execution.conf = Data.from_xmle(xmle)

		return execution
Example #2
0
    def _parse_exec(self, xmle):
        execution = Exec()

        if "launcher" in xmle.attrib:
            execution.mode = xmle.attrib["launcher"].lower()
            if execution.mode == "python":
                execution.mode = "native"

        execution.conf = Data.from_xmle(xmle)

        return execution
Example #3
0
File: reader.py Project: bbglab/wok
	def _parse_conf(self, xmle):
		return Data.from_xmle(xmle)
Example #4
0
 def _parse_conf(self, xmle):
     return Data.from_xmle(xmle)