code: def construct_txt_file(self):
          
          textlines = ['Prediction of noncovalent interactions for PDB structure %s' % self.mol.pymol_name.upper(), ]
          textlines.append("=" * len(textlines[0]))
          textlines.append('Created on %s using PLIP v%s\n' % (time.strftime("%Y/%m/%d"), __version__))
          textlines.append('If you are using PLIP in your work, please cite:')
          textlines.append('Salentin,S. et al. PLIP: fully automated protein-ligand interaction profiler.')
          textlines.append('Nucl. Acids Res. (1 July 2015) 43 (W1): W443-W447. doi: 10.1093/nar/gkv315\n')
          if len(self.excluded) != 0:
              textlines.append('Excluded molecules as ligands: %s\n' % ','.join([lig for lig in self.excluded]))
          if config.DNARECEPTOR:
              textlines.append('DNA/RNA in structure was chosen as the receptor part.\n')
          return textlines
docs: Construct the header of the txt file