本文整理汇总了Python中Biskit.Executor.finish方法的典型用法代码示例。如果您正苦于以下问题:Python Executor.finish方法的具体用法?Python Executor.finish怎么用?Python Executor.finish使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Biskit.Executor
的用法示例。
在下文中一共展示了Executor.finish方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: finish
# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import finish [as 别名]
def finish( self ):
"""
Overrides Executor method
"""
Executor.finish( self )
self.result = self.parse_result()
## if probe radius other than 1.4 A the relative surface exposure
## cannot be calculated, but allow this check to be a little flexible
## if we ate forced to slightly increase the radii to excape round off
## SurfaceRacer errors
try:
if round(self.probe, 1) == 1.4 and self.vdw_set == 1:
self.__relExposure('MS')
self.__relExposure('AS')
else:
EHandler.warning("No relative accessabilities calculated "+\
"when using a prob radius other than 1.4 A"+\
" or not using the Richards vdw radii set.")
except KeyError, what:
EHandler.warning("Missing standard accessibilities for some "+\
"atoms. No relative accesibilities calculated.")
if 'relMS' in self.result: del self.result['relMS']
if 'relAS' in self.result: del self.result['relAS']
示例2: finish
# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import finish [as 别名]
def finish( self ):
"""
Overrides Executor method
"""
Executor.finish( self )
self.result = PDBModel( self.f_out )
## renumber atoms
self.result['serial_number'] = N.arange( len( self.result ) )
## rescue non-atom informations
self.result.pdbCode = self.model.pdbCode
self.result.info.update( self.model.info )
self.result.residues.update( self.model.residues )
self.result.info['reduce'] = 'hydrogens added/replaced by '\
+ self.version()
示例3: finish
# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import finish [as 别名]
def finish( self ):
"""Called after a successful intervor run. Overrides Executor hook.
"""
Executor.finish( self )
f_so = self.f_prefix + '_intervor_SO.txt'
f_fac= self.f_prefix + '_intervor_interface-IV.txt'
facets = B.ProfileCollection()
facets['so'] = N.array( self.__parseSO( f_so ), N.int32 )
d = self.__parseFacets( f_fac )
for k in d.keys():
facets[ k ] = d.valuesOf( k )
assert len(facets[k]) == len(facets['so']),\
'number of facet records and shelling order records dont match'
self.result = facets
self.__mapfacets2Atoms( facets )
示例4: finish
# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import finish [as 别名]
def finish( self ):
"""
@note: Overrides Executor method
"""
Executor.finish( self )
self.result = self.parse_foldx()
示例5: finish
# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import finish [as 别名]
def finish( self ):
"""
Overrides Executor method
"""
Executor.finish( self )
self.result = self.parse_whatif( )
示例6: finish
# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import finish [as 别名]
def finish( self ):
"""
Overrides Executor method
"""
Executor.finish( self )
self.result = self.filterBlastHit( )
示例7: finish
# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import finish [as 别名]
def finish( self ):
"""
Overrides Executor method
"""
Executor.finish( self )
self.result = self.parse_tmalign( self.output )
示例8: finish
# 需要导入模块: from Biskit import Executor [as 别名]
# 或者: from Biskit.Executor import finish [as 别名]
def finish( self ):
"""
Overrides Executor method
"""
Executor.finish( self )
self.result = self.parseOutput()