Calculate the absolute error for this case.

def compute_absolute_error(self, predicted_data, record, dataframe_record):
        '''Calculate the absolute error for this case.'''
        absolute_error = abs(record['DDG'] - predicted_data[self.ddg_analysis_type])
        dataframe_record['AbsoluteError'] = absolute_error