當前位置: 首頁>>代碼示例>>Python>>正文


Python Relax_data_store.version方法代碼示例

本文整理匯總了Python中data_store.Relax_data_store.version方法的典型用法代碼示例。如果您正苦於以下問題:Python Relax_data_store.version方法的具體用法?Python Relax_data_store.version怎麽用?Python Relax_data_store.version使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在data_store.Relax_data_store的用法示例。


在下文中一共展示了Relax_data_store.version方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: Relax_data_store

# 需要導入模塊: from data_store import Relax_data_store [as 別名]
# 或者: from data_store.Relax_data_store import version [as 別名]
# Script for testing the reading and writing of BMRB files.

# Python module imports.
from os import sep

# relax module imports.
from data_store import Relax_data_store; ds = Relax_data_store()
from status import Status; status = Status()


# Missing temp file (allow this script to run outside of the system test framework).
state_file = 'devnull'
if not hasattr(ds, 'tmpfile'):
    stand_alone = True
    ds.tmpfile = 'temp_bmrb'
    ds.version = '3.1'
    state_file = 'temp_bmrb_state'

# Create the data pipe.
self._execute_uf(uf_name='pipe.create', pipe_name='results', pipe_type='mf')

# Read the results.
self._execute_uf(uf_name='results.read', file='final_results_trunc_1.3_v2', dir=status.install_path + sep+'test_suite'+sep+'shared_data'+sep+'model_free'+sep+'OMP')

# Speed these tests up a bit.
self._execute_uf(uf_name='residue.delete', res_id=':15-200')

# Play with the data.
self._execute_uf(uf_name='deselect.all')
self._execute_uf(uf_name='select.spin', spin_id=':[email protected]')
self._execute_uf(uf_name='select.spin', spin_id=':[email protected]')
開發者ID:belisario21,項目名稱:relax_trunk,代碼行數:33,代碼來源:bmrb_rw.py


注:本文中的data_store.Relax_data_store.version方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。