Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
pyrosetta.io.silent_file_map.SilentFileMap Class Reference
Inheritance diagram for pyrosetta.io.silent_file_map.SilentFileMap:
Inheritance graph
[legend]

Public Member Functions

def __init__
 
def tags
 
def poses
 
def energies
 
def write_file
 
def __getitem__
 
def __setitem__
 
def __delitem__
 
def __len__
 
def __iter__
 
def __enter__
 
def __exit__
 

Public Attributes

 filename
 
 file_writable
 
 sdata
 

Detailed Description

Map class providing key-value interface to silent file data.

Constructor & Destructor Documentation

def pyrosetta.io.silent_file_map.SilentFileMap.__init__ (   self,
  filename = None,
  data = None 
)
Initialize mapping over given filename or silent file data.
filename - Read silent data from given file if data not provided, default path for `write`.
data - String silent file data to load.

Referenced by pyrosetta.distributed.tasks.taskbase.TaskBase.__setstate__().

Member Function Documentation

def pyrosetta.io.silent_file_map.SilentFileMap.__delitem__ (   self,
  tag_name 
)
def pyrosetta.io.silent_file_map.SilentFileMap.__enter__ (   self)
def pyrosetta.io.silent_file_map.SilentFileMap.__exit__ (   self,
  type,
  value,
  tb 
)
def pyrosetta.io.silent_file_map.SilentFileMap.__getitem__ (   self,
  tag_name 
)
def pyrosetta.io.silent_file_map.SilentFileMap.__iter__ (   self)
def pyrosetta.io.silent_file_map.SilentFileMap.__len__ (   self)
def pyrosetta.io.silent_file_map.SilentFileMap.__setitem__ (   self,
  tag_name,
  structure 
)
def pyrosetta.io.silent_file_map.SilentFileMap.energies (   self)
def pyrosetta.io.silent_file_map.SilentFileMap.poses (   self)
def pyrosetta.io.silent_file_map.SilentFileMap.tags (   self)
Return list of all tags in silent file data.

References basic::options::OptionKeys::in::file.list.

def pyrosetta.io.silent_file_map.SilentFileMap.write_file (   self,
  filename = None,
  force = False 
)

Member Data Documentation

pyrosetta.io.silent_file_map.SilentFileMap.file_writable
pyrosetta.io.silent_file_map.SilentFileMap.filename
pyrosetta.io.silent_file_map.SilentFileMap.sdata

The documentation for this class was generated from the following file: