def files_presence(self): for i in ['INCAR', 'KPOINTS', 'POSCAR', 'POTCAR']: if not os.path.isfile(self.workdir + os.sep + i): pcm_log.warning(' File: %s not found' % i) for i in ['OUTCAR', 'CONTCAR', 'WAVECAR', 'CHGCAR']: if not os.path.isfile(self.workdir + os.sep + i): pcm_log.warning(' File: %s not found' % i)