<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_metadata(self, fp):
 """Adds data to the metadata that's written. Parameters fp : pycbc.inference.io.BaseInferenceFile instance The inference file to write to. """

        super(BaseDataModel, self).write_metadata(fp)
        fp.write_stilde(self.data)