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

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

        if not self.debug:
            T.tryRemove(self.inp1)
            T.tryRemove(self.inp2)
Exemplo 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)
Exemplo 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)
Exemplo n.º 5
0
 def cleanUp(self):
     T.tryRemove( self.fout )
Exemplo n.º 6
0
 def cleanUp(self):
     if self.f_out: T.tryRemove(self.f_out, tree=1)
Exemplo n.º 7
0
 def cleanUp(self):
     T.tryRemove( self.feps )
Exemplo n.º 8
0
 def cleanUp(self):
     T.tryRemove(self.outPath + '/1A2P_waters.pdb')
     T.tryRemove(self.outPath + '/1A2A_seg.PDB')
Exemplo n.º 9
0
 def cleanUp(self):
     T.tryRemove(self.feps)
Exemplo n.º 10
0
    def cleanup(self):
        if not self.debug:
            T.tryRemove(self.foutName)
            self.deletePdbs()

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