def decode_data(self, input_data):
self.group_type_list = decode_array(input_data["<STR_LIT>"])<EOL>self.x_coord_list = decode_array(input_data["<STR_LIT>"])<EOL>self.y_coord_list = decode_array(input_data["<STR_LIT>"])<EOL>self.z_coord_list = decode_array(input_data["<STR_LIT>"])<EOL>if "<STR_LIT>" in input_data:<EOL><INDENT>self.b_factor_list = decode_array(input_data["<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>self.b_factor_list = []<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.occupancy_list = decode_array(input_data["<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>self.occupancy_list = []<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.atom_id_list = decode_array(input_data["<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>self.atom_id_list = []<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.alt_loc_list = decode_array(input_data["<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>self.alt_loc_list = []<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.ins_code_list = decode_array(input_data["<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>self.ins_code_list = []<EOL><DEDENT>self.group_id_list = decode_array(input_data["<STR_LIT>"])<EOL>self.group_list = input_data["<STR_LIT>"]<EOL>if "<STR_LIT>" in input_data:<EOL><INDENT>self.sequence_index_list = decode_array(input_data["<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>self.sequence_index_list = []<EOL><DEDENT>self.chains_per_model = input_data["<STR_LIT>"]<EOL>self.groups_per_chain = input_data["<STR_LIT>"]<EOL>if "<STR_LIT>" in input_data:<EOL><INDENT>self.chain_name_list = decode_array(input_data["<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>self.chain_name_list = []<EOL><DEDENT>self.chain_id_list = decode_array(input_data["<STR_LIT>"])<EOL>if "<STR_LIT>" in input_data:<EOL><INDENT>self.space_group = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.space_group = None<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.bond_atom_list = decode_array(input_data["<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>self.bond_atom_list = None<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.bond_order_list = decode_array(input_data["<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>self.bond_order_list = None<EOL><DEDENT>if sys.version_info[<NUM_LIT:0>] < <NUM_LIT:3>:<EOL><INDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.mmtf_version = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.mmtf_version = None<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.mmtf_producer = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.mmtf_producer = None<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.structure_id = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.structure_id = None<EOL><DEDENT><DEDENT>else:<EOL><INDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.mmtf_version = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.mmtf_version = None<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.mmtf_producer = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.mmtf_producer = None<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.structure_id = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.structure_id = None<EOL><DEDENT><DEDENT>if "<STR_LIT:title>" in input_data:<EOL><INDENT>if sys.version_info[<NUM_LIT:0>] < <NUM_LIT:3>:<EOL><INDENT>self.title = input_data["<STR_LIT:title>"]<EOL><DEDENT>else:<EOL><INDENT>self.title = input_data["<STR_LIT:title>"]<EOL><DEDENT><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.experimental_methods = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.experimental_methods = None<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.deposition_date = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.deposition_date = None<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.release_date = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.release_date = None<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.entity_list = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.entity_list = []<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.bio_assembly = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.bio_assembly = []<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.r_free = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.r_free = None<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.r_work = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.r_work = None<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.resolution = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.resolution = None<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.unit_cell = input_data["<STR_LIT>"]<EOL><DEDENT>else:<EOL><INDENT>self.unit_cell = None<EOL><DEDENT>if "<STR_LIT>" in input_data:<EOL><INDENT>self.sec_struct_list = decode_array(input_data["<STR_LIT>"])<EOL><DEDENT>self.num_bonds = int(input_data["<STR_LIT>"])<EOL>self.num_chains = int(input_data["<STR_LIT>"])<EOL>self.num_models = int(input_data["<STR_LIT>"])<EOL>self.num_atoms = int(input_data["<STR_LIT>"])<EOL>self.num_groups = int(input_data["<STR_LIT>"])<EOL>
Function to decode the input data and place it onto the class.
        :param input_data: the input data as a dict