def process_master_records(data_file, pdb_file):
    """Takes a :py:class:`.PdbDataFile` and updates it based on the
    MASTER records in the provided :py:class:`.PdbFile`

    :param PdbDataFile data_file: the Data File to update.
    :param PdbFile pdb_file: The source Pdb File"""
    master = pdb_file.get_record_by_name('MASTER')
    data_file._master = {'remark_num': master[10:15], 'het_num': master[20:
        25], 'helix_num': master[25:30], 'sheet_num': master[30:35],
        'site_num': master[40:45], 'crystal_num': master[45:50],
        'coordinate_num': master[50:55], 'ter_num': master[55:60],
        'conect_num': master[60:65], 'seqres_num': master[65:70]
        } if master else None
