Esempio n. 1
0
    def cleanup(self):
        """
        remove temporary files
        """
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.inp1 )
            T.tryRemove( self.inp2 )
Esempio n. 2
0
    def cleanup(self):
        """
        remove temporary files
        """
        Executor.cleanup(self)

        if not self.debug:
            T.tryRemove(self.inp1)
            T.tryRemove(self.inp2)
Esempio n. 3
0
    def deletePdbs(self):
        """
        Deletes the pdb-files in the list from disc
        """
        for key in self.dic.keys():

            for model in self.dic[key]:
                ## only remove files created by PymolInput!
                if model.temporary:
                    T.tryRemove(model.fname)
Esempio n. 4
0
 def cleanTmp(self):
     """
     Remove temporary file if created with :meth:`writeTmp`
     """
     import tools as T
     if self.tmpfile:
         return T.tryRemove(self.tmpfile)
Esempio n. 5
0
 def cleanUp(self):
     T.tryRemove( self.fout )
Esempio n. 6
0
 def cleanUp(self):
     if self.f_out: T.tryRemove(self.f_out, tree=1)
Esempio n. 7
0
 def cleanUp(self):
     T.tryRemove( self.feps )
Esempio n. 8
0
 def cleanUp(self):
     T.tryRemove(self.outPath + '/1A2P_waters.pdb')
     T.tryRemove(self.outPath + '/1A2A_seg.PDB')
Esempio n. 9
0
 def cleanUp(self):
     T.tryRemove(self.feps)
Esempio n. 10
0
    def cleanup(self):
        if not self.debug:
            T.tryRemove(self.foutName)
            self.deletePdbs()

        Executor.cleanup(self)
Esempio n. 11
0
 def cleanUp(self):
     T.tryRemove(self.cleaner.log.fname)
Esempio n. 12
0
 def cleanUp(self):
     T.tryRemove( self.outPath + '/1A2P_waters.pdb' )
     T.tryRemove( self.outPath + '/1A2A_seg.PDB' )
Esempio n. 13
0
 def cleanUp(self):
     T.tryRemove(self.testdir, tree=1)
Esempio n. 14
0
 def cleanUp(self):
     T.tryRemove( self.cleaner.log.fname )