Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions | Variables
pyrosetta.io.silent_file_map Namespace Reference

Classes

class  SilentFileEnergyAccessor
 
class  SilentFileMap
 
class  SilentFilePoseAccessor
 

Functions

def _open_gzip_compressed
 
def _open_bz2_compressed
 
def open_compressed
 

Variables

dictionary _compressed_magic_bytes = { }
 

Function Documentation

def pyrosetta.io.silent_file_map._open_bz2_compressed (   f)
private
def pyrosetta.io.silent_file_map._open_gzip_compressed (   f)
private
def pyrosetta.io.silent_file_map.open_compressed (   filename)
Open a possibly compressed file or stream as a decompressed file object.
Checks for gzip/bz2 prefix bytes and returns a decompression stream if needed.
filename - str filename or file object supporting seek

References ObjexxFCL.len(), max(), and basic::database.open().

Variable Documentation

dictionary pyrosetta.io.silent_file_map._compressed_magic_bytes = { }