本文整理匯總了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()