コード例 #1
0
    def cleanup(self):
        Executor.cleanup(self)

        if not self.debug:
            T.tryRemove(self.prosaPdbFile)
            T.tryRemove(self.f_in)
            T.tryRemove(self.prosaOutput + '.ana')
コード例 #2
0
ファイル: Prosa2003.py プロジェクト: ostrokach/biskit
    def cleanup( self ):
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.prosaPdbFile )
            T.tryRemove( self.f_in)
            T.tryRemove( self.prosaOutput + '.ana' )
コード例 #3
0
ファイル: DSSP.py プロジェクト: ostrokach/biskit
    def cleanup( self ):
        """
        Tidy up the mess you created.
        """
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.f_pdb )
コード例 #4
0
    def cleanup(self):
        """
        Tidy up the mess you created.
        """
        Executor.cleanup(self)

        if not self.debug:
            T.tryRemove(self.f_pdb)
コード例 #5
0
    def cleanup( self ):
        """
        Remove temp files.
        """
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.f_xyzrn )
            T.tryRemove( self.f_surf + '.area' )
コード例 #6
0
ファイル: msms.py プロジェクト: ostrokach/biskit
    def cleanup( self ):
        """
        Remove temp files.
        """
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.f_xyzrn )
            T.tryRemove( self.f_surf + '.area' )
コード例 #7
0
ファイル: Blast2Seq.py プロジェクト: ostrokach/biskit
    def cleanup(self):
        """
        remove temporary files
        """
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.inp1 )
            T.tryRemove( self.inp2 )
コード例 #8
0
ファイル: Blast2Seq.py プロジェクト: ostrokach/biskit
    def cleanup(self):
        """
        remove temporary files
        """
        Executor.cleanup(self)

        if not self.debug:
            T.tryRemove(self.inp1)
            T.tryRemove(self.inp2)
コード例 #9
0
ファイル: reduce.py プロジェクト: ostrokach/biskit
 def cleanup( self ):
     """
     Tidy up the mess you created.
     Does nothing. No temporary files are created.
     """        
     Executor.cleanup( self )
     if not self.debug:
         T.tryRemove( self.f_pdbin )
         T.tryRemove( self.f_out)
コード例 #10
0
 def cleanup(self):
     """
     Tidy up the mess you created.
     Does nothing. No temporary files are created.
     """
     Executor.cleanup(self)
     if not self.debug:
         T.tryRemove(self.f_pdbin)
         T.tryRemove(self.f_out)
コード例 #11
0
ファイル: Intervor.py プロジェクト: graik/biskit
 def cleanup( self ):
     """
     Tidy up the mess we created. Called after program execution.
     """
     Executor.cleanup( self )
     
     if not self.debug:
         ## remove all files created by intervor
         for f in glob.glob( self.f_prefix + '*' ):
             T.tryRemove( f )
コード例 #12
0
ファイル: Intervor.py プロジェクト: tybiot/biskit
    def cleanup(self):
        """
        Tidy up the mess we created. Called after program execution.
        """
        Executor.cleanup(self)

        if not self.debug:
            ## remove all files created by intervor
            for f in glob.glob(self.f_prefix + '*'):
                T.tryRemove(f)
コード例 #13
0
ファイル: IcmCad.py プロジェクト: suliat16/biskit
    def cleanup(self):
        """
        Tidy up the mess you created.
        """
        Executor.cleanup(self)

        if not self.debug:
            T.tryRemove(self.f_ref)

            for i in range(len(self.models)):
                T.tryRemove(self.f_pdb % i)
コード例 #14
0
ファイル: IcmCad.py プロジェクト: graik/biskit
    def cleanup( self ):
        """
        Tidy up the mess you created.
        """        
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.f_ref )

            for i in range( len(self.models)):
                T.tryRemove( self.f_pdb % i )
コード例 #15
0
ファイル: SurfaceRacer.py プロジェクト: ostrokach/biskit
    def cleanup( self ):
        """
        Tidy up the mess you created.
        """
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.f_pdb, verbose=self.verbose )
            T.tryRemove( self.f_out_name, verbose=self.verbose )
            T.tryRemove( os.path.join(self.cwd, 'result.txt'), 
                         verbose=self.verbose )
            T.tryRemove( self.f_pdb[:-4]+'_residue.txt', verbose=self.verbose)
コード例 #16
0
ファイル: SurfaceRacer.py プロジェクト: tybiot/biskit
    def cleanup( self ):
        """
        Tidy up the mess you created.
        """
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.f_pdb, verbose=self.verbose )
            T.tryRemove( self.f_out_name, verbose=self.verbose )
            T.tryRemove( os.path.join(self.cwd, 'result.txt'), 
                         verbose=self.verbose )
            T.tryRemove( self.f_pdb[:-4]+'_residue.txt', verbose=self.verbose)
コード例 #17
0
ファイル: WhatIf.py プロジェクト: graik/biskit
    def cleanup( self ):
        """
        Tidy up the mess you created.
        """
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.f_pdb )
            T.tryRemove( self.f_relativeASA )
            T.tryRemove( self.f_residueASA )

            T.tryRemove('FOR???.DAT', wildcard=1)
            T.tryRemove('pdbout.tex')
            T.tryRemove('pdbout.txt')
            T.tryRemove('TEXSTORE.DAT')
            T.tryRemove('TEXTABLE.DAT')
コード例 #18
0
ファイル: WhatIf.py プロジェクト: suliat16/biskit
    def cleanup(self):
        """
        Tidy up the mess you created.
        """
        Executor.cleanup(self)

        if not self.debug:
            T.tryRemove(self.f_pdb)
            T.tryRemove(self.f_relativeASA)
            T.tryRemove(self.f_residueASA)

            T.tryRemove('FOR???.DAT', wildcard=1)
            T.tryRemove('pdbout.tex')
            T.tryRemove('pdbout.txt')
            T.tryRemove('TEXSTORE.DAT')
            T.tryRemove('TEXTABLE.DAT')
コード例 #19
0
ファイル: Fold_X.py プロジェクト: ostrokach/biskit
    def cleanup( self ):
        """
        Remove files created for and by the calculation. 
        """
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.temp_pdb )
            T.tryRemove( self.temp_command )
            T.tryRemove( self.temp_option )
            T.tryRemove( self.temp_result )
            T.tryRemove( self.temp_runlog )
            T.tryRemove( self.temp_errlog )
            ## Fold-X writes a file called "runlog.txt"
            ## to local directory. Try to remove it.
            T.tryRemove( 'runlog.txt' )
            ## and even though the error log is supposed
            ## to be written to self.temp_errlog, I get a
            ## 'errorfile.txt' in the local directory. Remove.
            T.tryRemove( 'errorfile.txt' )
コード例 #20
0
ファイル: Pymoler.py プロジェクト: tybiot/biskit
    def cleanup(self):
        if not self.debug:
            T.tryRemove(self.foutName)
            self.deletePdbs()

        Executor.cleanup(self)
コード例 #21
0
ファイル: msms.py プロジェクト: ostrokach/biskit
    def cleanup( self ):
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.f_pdb )
コード例 #22
0
    def cleanup( self ):
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.f_pdb )