class Chem::PyMOL::Writer
- Chem::PyMOL::Writer
- Chem::IO::Writer(Chem::Structure)
- Reference
- Object
Defined in:
chem/io/formats/pymol.crConstant Summary
-
CODES =
{Protein::SecondaryStructure::BetaStrand => 'S', Protein::SecondaryStructure::LeftHandedHelix3_10 => 'H', Protein::SecondaryStructure::LeftHandedHelixAlpha => 'H', Protein::SecondaryStructure::LeftHandedHelixGamma => 'H', Protein::SecondaryStructure::LeftHandedHelixPi => 'H', Protein::SecondaryStructure::RightHandedHelix3_10 => 'H', Protein::SecondaryStructure::RightHandedHelixAlpha => 'H', Protein::SecondaryStructure::RightHandedHelixGamma => 'H', Protein::SecondaryStructure::RightHandedHelixPi => 'H', Protein::SecondaryStructure::Polyproline => 'H'}
-
SHORT_NAMES =
{Protein::SecondaryStructure::BetaStrand => "strand", Protein::SecondaryStructure::LeftHandedHelix3_10 => "310", Protein::SecondaryStructure::LeftHandedHelixAlpha => "alpha", Protein::SecondaryStructure::LeftHandedHelixGamma => "gamma", Protein::SecondaryStructure::LeftHandedHelixPi => "pi", Protein::SecondaryStructure::RightHandedHelix3_10 => "310", Protein::SecondaryStructure::RightHandedHelixAlpha => "alpha", Protein::SecondaryStructure::RightHandedHelixGamma => "gamma", Protein::SecondaryStructure::RightHandedHelixPi => "pi", Protein::SecondaryStructure::Polyproline => "pp"}
Constructors
Instance Method Summary
Instance methods inherited from class Chem::IO::Writer(Chem::Structure)
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::Structure)
new(input : ::IO | Path | String, *, sync_close : Bool = false)
new
Class methods inherited from class Chem::IO::Writer(Chem::Structure)
open(io : ::IO | Path | String, *args, sync_close : Bool = false, **options, &)
open
Constructor Detail
def self.new(io : ::IO | Path | String, path : String | Path | Nil = nil, *, sync_close : Bool = false)
#