def __init__(self, vector, info):
<EOL>if vector.failed:<EOL><INDENT>raise ValueError(<EOL>"<STR_LIT>".format(vector)<EOL>)<EOL><DEDENT>if info.failed:<EOL><INDENT>raise ValueError("<STR_LIT>".format(info))<EOL><DEDENT>if info.origin_id != vector.origin_id:<EOL><INDENT>raise ValueError(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>".format(info, vector)<EOL>)<EOL><DEDENT>self.vector_id = vector.id<EOL>self.vector = vector<EOL>self.info_id = info<EOL>self.info = info<EOL>self.origin_id = vector.origin_id<EOL>self.origin = vector.origin<EOL>self.destination_id = vector.destination_id<EOL>self.destination = vector.destination<EOL>self.network_id = vector.network_id<EOL>self.network = vector.network<EOL>
Create a transmission.