当前位置: 首页>>代码示例>>Python>>正文


Python Executor.cleanup方法代码示例

本文整理汇总了Python中Biskit.Executor.cleanup方法的典型用法代码示例。如果您正苦于以下问题:Python Executor.cleanup方法的具体用法?Python Executor.cleanup怎么用?Python Executor.cleanup使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Biskit.Executor的用法示例。


在下文中一共展示了Executor.cleanup方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: cleanup

# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import cleanup [as 别名]
    def cleanup( self ):
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.prosaPdbFile )
            T.tryRemove( self.f_in)
            T.tryRemove( self.prosaOutput + '.ana' )
开发者ID:ostrokach,项目名称:biskit,代码行数:9,代码来源:Prosa2003.py

示例2: cleanup

# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import cleanup [as 别名]
    def cleanup( self ):
        """
        Tidy up the mess you created.
        """
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.f_pdb )
开发者ID:ostrokach,项目名称:biskit,代码行数:10,代码来源:DSSP.py

示例3: cleanup

# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import cleanup [as 别名]
    def cleanup(self):
        """
        remove temporary files
        """
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.inp1 )
            T.tryRemove( self.inp2 )
开发者ID:ostrokach,项目名称:biskit,代码行数:11,代码来源:Blast2Seq.py

示例4: cleanup

# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import cleanup [as 别名]
    def cleanup( self ):
        """
        Remove temp files.
        """
        Executor.cleanup( self )

        if not self.debug:
            T.tryRemove( self.f_xyzrn )
            T.tryRemove( self.f_surf + '.area' )
开发者ID:ostrokach,项目名称:biskit,代码行数:11,代码来源:msms.py

示例5: cleanup

# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import cleanup [as 别名]
 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)
开发者ID:ostrokach,项目名称:biskit,代码行数:11,代码来源:reduce.py

示例6: cleanup

# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import cleanup [as 别名]
 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 )
开发者ID:graik,项目名称:biskit,代码行数:12,代码来源:Intervor.py

示例7: cleanup

# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import cleanup [as 别名]
    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 )
开发者ID:graik,项目名称:biskit,代码行数:13,代码来源:IcmCad.py

示例8: cleanup

# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import cleanup [as 别名]
    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)
开发者ID:ostrokach,项目名称:biskit,代码行数:14,代码来源:SurfaceRacer.py

示例9: cleanup

# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import cleanup [as 别名]
    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')
开发者ID:graik,项目名称:biskit,代码行数:18,代码来源:WhatIf.py

示例10: cleanup

# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import cleanup [as 别名]
    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' )
开发者ID:ostrokach,项目名称:biskit,代码行数:22,代码来源:Fold_X.py


注:本文中的Biskit.Executor.cleanup方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。