class Chem::PDB::Writer

Defined in:

chem/io/formats/pdb.cr

Constant Summary

PDB_VERSION = "3.30"
PDB_VERSION_DATE = Time.local(2011, 7, 13)
WHITESPACE = ' '

Constructors

Instance Method Summary

Instance methods inherited from class Chem::IO::Writer(Chem::AtomCollection)

close : Nil close, closed? closed?, format(str : String, *args, **options) : Nil format, formatl(str : String, *args, **options) : Nil formatl, sync_close=(sync_close : Bool) sync_close=, sync_close? sync_close?, write(obj : T) : Nil write

Constructor methods inherited from class Chem::IO::Writer(Chem::AtomCollection)

new(input : ::IO | Path | String, *, sync_close : Bool = false) new

Class methods inherited from class Chem::IO::Writer(Chem::AtomCollection)

open(io : ::IO | Path | String, *args, sync_close : Bool = false, **options, &) open

Constructor Detail

def self.new(io : ::IO | Path | String, bonds : Bool | Array(Bond) = false, renumber : Bool = true, *, sync_close : Bool = false) #

[View source]

Instance Method Detail

def close : Nil #

[View source]
def write(structure : Structure) : Nil #

[View source]
def write(atoms : AtomCollection) : Nil #

[View source]