A base class for setting up the information and generating a string
describing that information for a stage in a Desmond MSJ file.
|
__init__(self,
stype,
last=False,
use_base=True,
**kwargs)
Create a MSJStringer object |
|
|
str
|
createString(self)
Create and return the string that represents this stage in the .msj
file |
|
|
str
|
formLine(self,
key,
value)
Create the line that should go in the .msj file for this key. |
|
|
str
|
getTitle(self)
This function returns a title for the stage describing the main
parameters. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
DOT = ' _dot_ '
|
|
MAX_STEPS = ' max_steps '
|
|
TIME = ' time '
|
|
TEMP = ' temperature '
|
|
PRESSURE = ' pressure '
|
|
ENSEMBLE = ' ensemble '
|
|
ENSEMBLE_CLASS = ' ensemble.class '
|
|
ENSEMBLE_METHOD = ' ensemble.method '
|
|
TIMESTEP = ' timestep '
|
|
JOBNAME = ' jobname '
|
|
CHECKPOINT = ' checkpt.write_last_step '
|
|
DIR = ' dir '
|
|
COMPRESS = ' compress '
|
|
INTERVAL = ' trajectory_dot_interval '
|
|
ANALYSIS_TYPE = ' analysis_type '
|
|
OTHERS = ' othertag '
|
|
MSJ_BASE = { ' checkpt.write_last_step ' : ' yes ' , ' jobname ' : ' "$MA ...
|
|
MSJ_LAST = { ' compress ' : ' "" ' , ' dir ' : ' "." ' }
|
|
LINE_ORDER = [ ' max_steps ' , ' analysis_type ' , ' time ' , ' timestep ' ...
|
|
KNOWN_LINES = set([ ' analysis_type ' , ' checkpt.write_last_step ' , ...
|
|
MINIMIZE = ' minimize '
|
|
SIMULATE = ' simulate '
|
|
ANALYSIS = ' matsci_analysis '
|
|
SYSBUILD = ' assign_forcefield '
|
|
SETTINGS = { ' assign_forcefield ' : None, ' matsci_analysis ' : None...
|
|
PADDING = ' '
|
|
INDENT = ' '
|