code: def get_complex(self):
          '''Returns the record for the complex definition to be used for database storage.'''
          d = dict(
              LName = self.lname,
              LShortName = self.lshortname,
              LHTMLName = self.lhtmlname,
              RName = self.rname,
              RShortName = self.rshortname,
              RHTMLName = self.rhtmlname,
              FunctionalClassID = self.functional_class_id,
              PPDBMFunctionalClassID = self.functional_class_id_ppdbm,
              PPDBMDifficulty = self.difficulty_ppdbm,
              IsWildType = self.is_wildtype,
              WildTypeComplexID = self.wildtype_complex,
              Notes = self.notes,
              Warnings = self.warnings,
          )
          if self.id:
              d['ID'] = self.id
          return f get_complex(self):
          '''Returns the record for the complex definition to be used for database storage.'''
          d = dict(
              LName = self.lname,
              LShortName = self.lshortname,
              LHTMLName = self.lhtmlname,
              RName = self.rname,
              RShortName = self.rshortname,
              RHTMLName = self.rhtmlname,
              FunctionalClassID = self.functional_class_id,
              PPDBMFunctionalClassID = self.functional_class_id_ppdbm,
              PPDBMDifficulty = self.difficulty_ppdbm,
              IsWildType = self.is_wildtype,
              WildTypeComplexID = self.wildtype_complex,
              Notes = self.notes,
              Warnings = self.warnings,
          )
          if self.id:
              d['ID'] = self.id
          return d
docs: Returns the record for the complex definition to be used for database storage.