本文整理汇总了Python中xia2.Handlers.Streams.Debug.uncache方法的典型用法代码示例。如果您正苦于以下问题:Python Debug.uncache方法的具体用法?Python Debug.uncache怎么用?Python Debug.uncache使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类xia2.Handlers.Streams.Debug
的用法示例。
在下文中一共展示了Debug.uncache方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: str
# 需要导入模块: from xia2.Handlers.Streams import Debug [as 别名]
# 或者: from xia2.Handlers.Streams.Debug import uncache [as 别名]
Chatter.cache()
Debug.cache()
try:
s.get_integrater_intensities()
except Exception, e:
if failover:
Chatter.write('Processing sweep %s failed: %s' % \
(s.get_name(), str(e)))
s = None
else:
raise
finally:
Chatter.uncache()
Debug.uncache()
return s
remove = []
from xia2.Handlers.Phil import PhilIndex
params = PhilIndex.get_python_object()
failover = params.xia2.settings.failover
for s in self._sweeps:
# would be nice to put this somewhere else in the hierarchy - not
# sure how to do that though (should be handled in Interfaces?)
try:
result += '%s\n' % s.get_output()