<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_magic_table_from_data(self, dtype, data):
 """ Add a MagIC table to the contribution from a data list Parameters dtype : str MagIC table type, i.e. 'specimens' data : list of dicts """

        self.tables[dtype] = MagicDataFrame(dtype=dtype, data=data)
        if dtype == 'measurements':
            self.tables['measurements'].add_sequence()
        return dtype, self.tables[dtype]