OEOFlavor
The OEOFlavor namespace encodes symbolic
constants used as bit-masks to indicate how to read various
file formats by OEChem TK.
The OEOFlavor.Generic namespace within
OEOFlavor defines control bit-masks that are
common to all of the output formats.
Although these generic bits are common to all file formats, they
may be specified independently for each file format.
See also
oemolostream.SetFormatmethod to set the flavor of an output molecule streamoemolstreambase.GetFormatmethod to retrieve the flavor of a molecule stream
The interpretation of many of these flavor values, is identical to those passed to the corresponding OEChem TK low-level file format writers.
This namespace contains the following namespaces:
OEOFlavor::CAN
The
OEOFlavor.CANnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOECreateSmiStringfunction when writing a molecule into aOEFormat.CANformat file.Note
If no aromaticity model is specified for the
OEOFlavor.Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
AllBonds
Corresponds to the
OESMILESFlag.AllBondsconstant.AtomMaps
Corresponds to the
OESMILESFlag.AtomMapsconstant.AtomStereo
Corresponds to the
OESMILESFlag.AtomStereoconstant.BondStereo
Corresponds to the
OESMILESFlag.BondStereoconstant.Canonical
Corresponds to the
OESMILESFlag.Canonicalconstant.DEFAULT
Same as the
OEOFlavor.CAN.Defaultconstant.Default
Combination of
OEOFlavor.CAN.AtomMaps,OEOFlavor.CAN.CanonicalandOEOFlavor.CAN.RGroupsflags.EnhStereo
Corresponds to the
OESMILESFlag.EnhStereoconstant.ExtBonds
Corresponds to the
OESMILESFlag.ExtBondsconstant.Hydrogens
Corresponds to the
OESMILESFlag.Hydrogensconstant.ImpHCount
Corresponds to the
OESMILESFlag.ImpHCountconstant.Isotopes
Corresponds to the
OESMILESFlag.Isotopesconstant.Kekule
Corresponds to the
OESMILESFlag.Kekuleconstant.RGroups
Corresponds to the
OESMILESFlag.RGroupsconstant.SmiMask
SuperAtoms
Corresponds to the
OESMILESFlag.SuperAtomsconstant.
OEOFlavor::CDX
Note
If no aromaticity model is specified for the
OEOFlavor.Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
Add2D
This flag indicates that 2D coordinates are generated prior to writing a molecule by the
OEWriteMoleculehigh-level writer. If the molecule already has 2D coordinates then these coordinates are left intact. In certain cases the 2D layout may result in incorrect stereochemistry in the resulting connection table. In these cases no coordinates are generated.UnsetBad2DStereo
This flag is used with the Add2D constant. In certain cases the 2D layout may result in incorrect stereochemistry in the output connection table format. When this flag is set the writer will output the generated coordinates and set the stereochemistry of the offending stereocenters to ‘Undefined’.
Default
Same as the
OEOFlavor.CDX.Add2Dconstant.
OEOFlavor::CIF
Note
If no aromaticity model is specified for the
OEOFlavor.Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
Default
OEOFlavor::CSV
This namespace contains constants for modifying the behavior of how the
OEFormat.CSVfile format is written.See also
Header
This flag indicates whether the first line in the
.csvshould contain the column names for the file. Column names are determined by the SD data present on the first molecule written to the oemolostream, regardless of whether this flag is set. The column names are retrievable through theoemolstreambase.GetCSVHeadermethod on the OECSVHeader object.If this flag is not set, the first line of the output
.csvfile will be the first molecule record.Default
Set to include
OEOFlavor.CSV.Headerto automatically write the column names as the first line in the file.DEFAULT
Synonym for
OEOFlavor.CSV.Default.OEOFlavor::CXSMILES
The
OEOFlavor.CXSMILESnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOECreateSmiStringfunction when writing a molecule into aOEFormat.CXSMILESformat file.Note
If no aromaticity model is specified for the
OEOFlavor.Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
AllBonds
Corresponds to the
OESMILESFlag.AllBondsconstant.AtomMaps
Corresponds to the
OESMILESFlag.AtomMapsconstant.AtomStereo
Corresponds to the
OESMILESFlag.AtomStereoconstant.BondStereo
Corresponds to the
OESMILESFlag.BondStereoconstant.Canonical
Corresponds to the
OESMILESFlag.Canonicalconstant.DEFAULT
Same as the
OEOFlavor.CXSMILES.Defaultconstant.Default
Combination of
OEOFlavor.CXSMILES.AtomMaps,OEOFlavor.CXSMILES.AtomStereo,OEOFlavor.CXSMILES.BondStereo,OEOFlavor.CXSMILES.Canonical,OEOFlavor.CXSMILES.Isotopes,OEOFlavor.CXSMILES.RGroupsandOEOFlavor.CXSMILES.EnhStereoflags.EnhStereo
Corresponds to the
OESMILESFlag.EnhStereoconstant.ExtBonds
Corresponds to the
OESMILESFlag.ExtBondsconstant.Hydrogens
Corresponds to the
OESMILESFlag.Hydrogensconstant.ImpHCount
Corresponds to the
OESMILESFlag.ImpHCountconstant.Isotopes
Corresponds to the
OESMILESFlag.Isotopesconstant.Kekule
Corresponds to the
OESMILESFlag.Kekuleconstant.RGroups
Corresponds to the
OESMILESFlag.RGroupsconstant.SmiMask
SuperAtoms
Corresponds to the
OESMILESFlag.SuperAtomsconstant.OEOFlavor::FASTA
This namespace contains the following constants:
Default
OEOFlavor::Generic
This namespace contains the following constants:
OEAroModelDaylight
This flag indicates that the Daylight aromaticity model is used to perceive aromaticity by the
OEWriteMoleculehigh-level writer.OEAroModelOpenEye
This flag indicates that the OpenEye aromaticity model is used to perceive aromaticity by the
OEWriteMoleculehigh-level writer.OEAroModelTripos
This flag indicates that the Tripos aromaticity model is used to perceive aromaticity by the
OEWriteMoleculehigh-level writer.OEAroModelMMFF
This flag indicates that the MMFF aromaticity model is used to perceive aromaticity by the
OEWriteMoleculehigh-level writer.OEAroModelMDL
This flag indicates that the MDL aromaticity model is used to perceive aromaticity by the
OEWriteMoleculehigh-level writer.AroMask
Combination of
OEOFlavor.Generic.OEAroModelDaylight,OEOFlavor.Generic.OEAroModelOpenEye,OEOFlavor.Generic.OEAroModelTripos,OEOFlavor.Generic.OEAroModelMMFFandOEOFlavor.Generic.OEAroModelMDLflags.See also
Aromaticity Models in OEChem TK section
OEAssignAromaticFlagsfunctionRings
This flag indicates the rings are (re)perceived by the
OEWriteMoleculehigh-level reader by calling theOEFindRingAtomsAndBondsfunction.GenericMask
Combination of
OEIFlavor.Generic.AroMaskandOEIFlavor.Generic.Ringsflags.SpecificMask
DEFAULT
Default
Same as the
OEOFlavor.Generic.DEFAULTconstant.OEOFlavor::INCHI
The
OEOFlavor.INCHInamespace encodes symbolic constants used as bit-masks that control the processing performed by theOECreateInChIfunction when writing a molecule into theOEFormat.INCHIformat file. These constants translate into InChI library options documented in the InChI API Reference documentation.See also
This namespace contains the following constants:
Chiral
Corresponds to the
ChiralFlagOnInChI option.Default
Equal to
OEOFlavor.INCHI.StereoandOEOFlavor.INCHI.Title.FixedHLayer
Corresponds to the
FixedHInChI option.Hydrogens
Corresponds to the inverse of the
DoNotAddHInChI option.RacemicStereo
Corresponds to the
SRacInChI option.ReconnectedMetals
Corresponds to the
RecMetInChI option.RelativeStereo
Corresponds to the
SRelInChI option.Stereo
Corresponds to the inverse of the
SNonInChI option.Title
If this flag is set, then the molecule’s title (returned by
OEMolBase.GetTitlemethod) is written to the output file.OEOFlavor::INCHIKEY
The
OEOFlavor.INCHIKEYnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOECreateInChIKeyfunction when writing a molecule into aOEFormat.INCHIKEYformat file. These constants translate into InChI library options documented in the InChI API Reference documentation.This namespace contains the following constants:
Chiral
Corresponds to the
ChiralFlagOnInChI option.Default
Equal to
OEOFlavor.INCHIKEY.StereoandOEOFlavor.INCHIKEY.Title.FixedHLayer
Corresponds to the
FixedHInChI option.Hydrogens
Corresponds to the inverse of the
DoNotAddHInChI option.RacemicStereo
Corresponds to the
SRacInChI option.ReconnectedMetals
Corresponds to the
RecMetInChI option.RelativeStereo
Corresponds to the
SRelInChI option.Stereo
Corresponds to the inverse of the
SNonInChI option.Title
If this flag is set, then the molecule’s title (returned by
OEMolBase.GetTitlemethod) is written to the output file.OEOFlavor::ISM
The
OEOFlavor.ISMnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOECreateSmiStringfunction when writing a molecule into aOEFormat.ISMformat file.Note
If no aromaticity model is specified for the
OEOFlavor.Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
AllBonds
Corresponds to the
OESMILESFlag.AllBondsconstant.AtomMaps
Corresponds to the
OESMILESFlag.AtomMapsconstant.AtomStereo
Corresponds to the
OESMILESFlag.AtomStereoconstant.BondStereo
Corresponds to the
OESMILESFlag.BondStereoconstant.Canonical
Corresponds to the
OESMILESFlag.Canonicalconstant.DEFAULT
Same as the
OEOFlavor.ISM.Defaultconstant.Default
Combination of
OEOFlavor.ISM.AtomMaps,OEOFlavor.ISM.AtomStereo,OEOFlavor.ISM.BondStereo,OEOFlavor.ISM.Canonical,OEOFlavor.ISM.IsotopesandOEOFlavor.ISM.RGroupsflags.EnhStereo
Corresponds to the
OESMILESFlag.EnhStereoconstant.ExtBonds
Corresponds to the
OESMILESFlag.ExtBondsconstant.Hydrogens
Corresponds to the
OESMILESFlag.Hydrogensconstant.ImpHCount
Corresponds to the
OESMILESFlag.ImpHCountconstant.Isotopes
Corresponds to the
OESMILESFlag.Isotopesconstant.Kekule
Corresponds to the
OESMILESFlag.Kekuleconstant.RGroups
Corresponds to the
OESMILESFlag.RGroupsconstant.SmiMask
SuperAtoms
Corresponds to the
OESMILESFlag.SuperAtomsconstant.OEOFlavor::MDL
The
OEOFlavor.MDLnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOEWriteMDLFileand theOEWriteMoleculefunctions when writing a molecule into aOEFormat.MDLformat file.This namespace contains the following constants:
Add2D
This flag indicates that if a molecule has no coordinates, then 2D coordinates are generated prior to writing a molecule by the
OEWriteMoleculehigh-level writer. If the molecule already has 2D or 3D coordinates then these coordinates are left intact. In certain cases the 2D layout may result in incorrect stereochemistry in the resulting connection table. In these cases no coordinates are generated.UnsetBad2DStereo
This flag is used with the Add2D constant. In certain cases the 2D layout may result in incorrect stereochemistry in the output connection table format. When this flag is set the writer will output the generated coordinates and set the stereochemistry of the offending stereocenters to ‘Undefined’.
MCHG
The
OEOFlavor.MDL.MCHGflag is used to instruct the MDL mol file writer to writeM CHGandM RADlines for charged/radical atoms in the output connection table, even if the charge and radical values of every atom are within the ranges representable by the MDL atom block. By default,M CHGandM RADlines are only used for connection tables that ‘overflow’ the allowed atom block limits.MISO
The
OEOFlavor.MDL.MISOflag is used to instruct the OEChem TK MDL mol file writer to writeM ISOlines for isotopes in the output connection table, even if the isotopic masses of every atom are within the range representable by the MDL atom block. By default,M ISOlines are only used for connection tables that ‘overflow’ the allowed atom block limits.MRGP
The
OEOFlavor.MDL.MRGPflag is used to instruct the OEChem TK MDL mol file writer to write outM RGPentries for each R-group atom, i.e. atom with element zero and a non-zero atom map index. These atoms are always written with atomic symbolR#.MV30
Force every molecule to be written in V3000 format. By default, only molecules with more than 999 atoms or enhanced stereo groups will be written in V3000 format.
MDLParity
If this flag is set and
OEMDLHasParityreturnsfalse,thenOEMDLPerceiveParityfunction is called to perceive the MDL atom stereo parity fields.Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWriteMDLFile.NoParity
If this flag is set, then
OEMDLClearParityfunction is called to set all MDL atom stereo parity fields to zero.Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWriteMDLFile.CurrentParity
If this flag is set, then the MDL atom stereo parity fields are left intact.
Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWriteMDLFile.MMask
PMask
Combination of
OEOFlavor.MDL.MDLParity,OEOFlavor.MDL.NoParityandOEOFlavor.MDL.CurrentParityflags. The flag controls the processing of the MDL stereo parity bit field of each atom.SuppressImp2ExpENHSTE
This flavor suppresses any implicit to explicit enhanced stereogroup conversions if the output is V3000 format.
SuppressTimestamps
This flavor suppresses the output of timestamps in MDL format header line(s). This can be useful for generation of simple diffable standards for use in tests.
DEFAULT
Combination of
OEOFlavor.MDL.Add2D,OEOFlavor.MDL.MDLParity,OEOFlavor.MDL.MRGP,OEOFlavor.MDL.MISOandOEOFlavor.MDL.MCHGflags.Default
Same as the
OEOFlavor.MDL.DEFAULTconstant.OEOFlavor::MF
The
OEOFlavor.MFnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOEWriteMoleculefunctions when writing a molecule into aOEFormat.MFformat file.This namespace contains the following constants:
Title
If this flag is set, then the molecule’s title (returned by
OEMolBase.GetTitlemethod) is written to the output file.DEFAULT
Same as the
OEOFlavor.MF.Titleconstant.Default
Same as the
OEOFlavor.MF.DEFAULTconstant.
OEOFlavor::MMCIF
Note
If no aromaticity model is specified for the
OEOFlavor.Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
PerceiveMetadata
Default
OEOFlavor::MMOD
This namespace contains following constants:
AtomTypes
DEFAULT
Default
Same as the
OEOFlavor.MMOD.DEFAULTconstant.OEOFlavor::MOL2
Note
Except for MOL2 Flavor Forcefield, if no aromaticity model is specified for the
OEOFlavor.Genericnamespace for this file format, then the Tripos model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constant:
AtomNames
AtomTypeNames
BondTypeNames
ChargePrecision
This flavor allows for increased precision of partial charges by writing them out to 5 decimal places.
Forcefield
Combination of
OEOFlavor.MOL2.GeneralFFFormat,OEOFlavor.MOL2.ChargePrecision, andOEOFlavor.MOL2.BondTypeNamesflagsThis variant of MOL2 reflects a common use of MOL2 format to embody information for a general forcefield. It combines the
OEOFlavor.MOL2.GeneralFFFormatso that atom names, atom types, and atom ordering are written out “as is” based on the input molecule, andOEOFlavor.MOL2.ChargePrecision, which writes out atomic partial charges to 5 decimal places. Mol2OEOFlavor.MOL2.BondTypeNamesare retained from the Tripos standard at this point because they are generally reasonable and historically they don’t conflict with the other needs of general forcefield format.GeneralFFFormat
This variant of MOL2 is commonly used for carrying information for force fields more general than the Tripos forcefield (the MOL2 standard). Here the atom names, atom types, and atom ordering are retained from the input molecule, rather than being changed to comply with the Tripos MOL2 standard. If an atom does not have a user-defined atom name and atom type for all atoms, warnings will be given and no molecule will be written.
Hydrogens
OrderAtoms
Substructure
NameMask
AllMask
DEFAULT
Default
Same as the
OEOFlavor.MOL2.DEFAULTconstant.OEOFlavor::MOL2H
Note
If no aromaticity model is specified for the
OEOFlavor.Genericnamespace for this file format, then the Tripos model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
AtomTypeNames
BondTypeNames
AtomNames
OrderAtoms
Hydrogens
Substructure
NameMask
AllMask
DEFAULT
Default
Same as the
OEOFlavor.MOL2H.DEFAULTconstant.OEOFlavor::MOPAC
This namespace contains the following constants:
XYZ
CHARGES
AllMask
DEFAULT
Default
Same as the
OEOFlavor.MOPAC.DEFAULTconstant.OEOFlavor::OEB
This namespace contains the following constants:
Default
OEOFlavor::OEZ
This namespace contains the following constants:
Default
OEOFlavor::PDB
The
OEOFlavor.PDBnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOEWritePDBFileand theOEWriteMoleculefunctions when writing a molecule into aOEFormat.PDBformat file.This namespace contains the following constants:
BONDS
Controls whether the OEChem PDB file writer includes CONECT records to describe the connectivity of the molecule. If this flag is given without
OEOFlavor.PDB.ORDERSall bonds are written as ‘single’ bonds.OEOFlavor.PDB.BONDSis off by default.ORDERS
Controls whether the PDB file writer should use repeated CONECT records to represent multiple bond orders (i.e. double and triple bonds). If this flag is given without
OEOFlavor.PDB.BONDSonly double and triple bonds are written to the file.OEOFlavor.PDB.ORDERSis off by default.BOTH
Including this bit-mask writes bi-directional CONECT records. Conventionally, PDB files list connect records both from source atom to destination atom, and again from destination to source. This duplication doubles the number/size of CONECT records with redundant information, as most readers (if they honor CONECT records at all) can work with uni-directional CONECT records. By default, this flavor is enabled and bi-directional CONECT records are written.
CHARGE
Controls whether the PDB file writer takes the value for the PDB file’s B-factor field from the atom’s partial charge property. A number of applications, including Delphi, (ab)use the PDB file format specification to store atomic partial charges in the b-factor field rather instead of crystallographically determined anisotropic temperature factors.
OEOFlavor.PDB.CHARGEis off by default.RADIUS
Controls whether the PDB file writer takes the value for the PDB file’s occupancy field from the atom’s radius property. A number of applications, including Delphi, (ab)use the PDB file format specification to store radii in the occupancy field rather instead of crystallographically determined anisotropic occupancies.
OEOFlavor.PDB.RADIUSis off by default.TER
Controls whether the PDB file writer terminates each connection table with a TER record rather than an END record. Some dubious molecular graphics software, such as Grasp, requires that multiple compounds be separated by the chain/fragment separator TER, rather than the molecule separator END.
OEOFlavor.PDB.TERis off by default.DELPHI
Combination of
OEOFlavor.PDB.CHARGEandOEOFlavor.PDB.RADIUSflags.ELEMENT
Controls whether the PDB writer writes the chemical symbol right-justified in columns 77-78, as specified by version 2.2 of the PDB format specification.
OEOFlavor.PDB.ELEMENTis on by default.FORMALCHARGE
Controls whether the PDB file writer writes the formal charge right-justified (e.g.
2+,2-) in columns 79-80, as specified by version 2.2 of the PDB format specification. This flag is off by default. EnablingOEOFlavor.PDB.FORMALCHARGEalso enablesOEOFlavor.PDB.ELEMENT.HETBONDS
Controls whether the PDB writer writes any bond to or from a ‘hetero atom’ (i.e. atom that has the record type
HETATMin a PDB file).OEOFlavor.PDB.HETBONDSis on by default.See also
OEPreserveResInfonamespace
OEResidue.IsHetAtommethod to retrieve the ‘hetero atom’ property of an atom in a residue
SetHetAtommethodBasicMask
OEResidues
Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWritePDBFile.NoResidues
Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWritePDBFile.CurrentResidues
Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWritePDBFile.OrderAtoms
Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWritePDBFile.AllMask
DEFAULT
Combination of
OEOFlavor.PDB.OrderAtoms,OEOFlavor.PDB.OEResidues,OEOFlavor.PDB.HETBONDS,OEOFlavor.PDB.ELEMENTandOEOFlavor.PDB.BOTHflags.Default
Same as the
OEOFlavor.PDB.DEFAULTconstant.OEOFlavor::SDF
The
OEOFlavor.SDFnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOEWriteMDLFileand theOEWriteMoleculefunctions when writing a molecule into aOEFormat.SDFformat file.This namespace contains the following constants:
Add2D
This flag indicates that if a molecule has no coordinates, then 2D coordinates are generated prior to writing a molecule by the
OEWriteMoleculehigh-level writer. If the molecule already has 2D or 3D coordinates then these coordinates are left intact. In certain cases the 2D layout may result in incorrect stereochemistry in the resulting connection table. In these cases no coordinates are generated.UnsetBad2DStereo
This flag is used with the Add2D constant. In certain cases the 2D layout may result in incorrect stereochemistry in the output connection table format. When this flag is set the writer will output the generated coordinates and set the stereochemistry of the offending stereocenters to ‘Undefined’.
MCHG
MISO
MRGP
MV30
MDLParity
If this flag is set and
OEMDLHasParityreturnsfalse,thenOEMDLPerceiveParityfunction is called to perceive the MDL atom stereo parity fields.Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWriteMDLFile.NoParity
If this flag is set, then
OEMDLClearParityfunction is called to set all MDL atom stereo parity fields to zero.Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWriteMDLFile.CurrentParity
If this flag is set, then the MDL atom stereo parity fields are left intact.
Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWriteMDLFile.MMask
PMask
Combination of
OEOFlavor.SDF.MDLParity,OEOFlavor.SDF.NoParityandOEOFlavor.SDF.CurrentParityflags. The flag controls the processing of the MDL stereo parity bit field of each atom.SuppressImp2ExpENHSTE
This flavor suppresses any implicit to explicit enhanced stereogroup conversions if the output is V3000 format.
SuppressTimestamps
This flavor suppresses the output of timestamps in MDL format header line(s). This can be useful for generation of simple diffable standards for use in tests.
DEFAULT
Combination of
OEOFlavor.SDF.Add2D,OEOFlavor.SDF.MDLParity,OEOFlavor.SDF.MRGP,OEOFlavor.SDF.MISOandOEOFlavor.SDF.MCHGflags.Default
Same as the
OEOFlavor.SDF.DEFAULTconstant.OEOFlavor::SLN
Note
If no aromaticity model is specified for the
OEOFlavor.Genericnamespace for this file format, then the Tripos model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
Default
OEOFlavor::SMI
The
OEOFlavor.SMInamespace encodes symbolic constants used as bit-masks that control the processing performed by theOECreateSmiStringfunction when writing a molecule into aOEFormat.SMIformat file.Note
If no aromaticity model is specified for the
OEOFlavor.Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
AllBonds
Corresponds to the
OESMILESFlag.AllBondsconstant.AtomMaps
Corresponds to the
OESMILESFlag.AtomMapsconstant.AtomStereo
Corresponds to the
OESMILESFlag.AtomStereoconstant.BondStereo
Corresponds to the
OESMILESFlag.BondStereoconstant.Canonical
Corresponds to the
OESMILESFlag.Canonicalconstant.DEFAULT
Same as the
OEOFlavor.SMI.Defaultconstant.Default
Combination of
OEOFlavor.SMI.AtomMaps,OEOFlavor.SMI.AtomStereo,OEOFlavor.SMI.BondStereo,OEOFlavor.SMI.Canonical,OEOFlavor.SMI.IsotopesandOEOFlavor.SMI.RGroupsflags.EnhStereo
Corresponds to the
OESMILESFlag.EnhStereoconstant.ExtBonds
Corresponds to the
OESMILESFlag.ExtBondsconstant.Hydrogens
Corresponds to the
OESMILESFlag.Hydrogensconstant.ImpHCount
Corresponds to the
OESMILESFlag.ImpHCountconstant.Isotopes
Corresponds to the
OESMILESFlag.Isotopesconstant.Kekule
Corresponds to the
OESMILESFlag.Kekuleconstant.RGroups
Corresponds to the
OESMILESFlag.RGroupsconstant.SmiMask
SuperAtoms
Corresponds to the
OESMILESFlag.SuperAtomsconstant.OEOFlavor::USM
This namespace contains constants.
AllBonds
Corresponds to the
OESMILESFlag.AllBondsconstant.AtomMaps
Corresponds to the
OESMILESFlag.AtomMapsconstant.AtomStereo
Corresponds to the
OESMILESFlag.AtomStereoconstant.BondStereo
Corresponds to the
OESMILESFlag.BondStereoconstant.Canonical
Corresponds to the
OESMILESFlag.Canonicalconstant.DEFAULT
Same as the
OEOFlavor.USM.Defaultconstant.Default
Combination of
OEOFlavor.USM.AtomMaps,OEOFlavor.USM.RGroupsflags.EnhStereo
Corresponds to the
OESMILESFlag.EnhStereoconstant.ExtBonds
Corresponds to the
OESMILESFlag.ExtBondsconstant.Hydrogens
Corresponds to the
OESMILESFlag.Hydrogensconstant.ImpHCount
Corresponds to the
OESMILESFlag.ImpHCountconstant.Isotopes
Corresponds to the
OESMILESFlag.Isotopesconstant.Kekule
Corresponds to the
OESMILESFlag.Kekuleconstant.RGroups
Corresponds to the
OESMILESFlag.RGroupsconstant.SmiMask
SuperAtoms
Corresponds to the
OESMILESFlag.SuperAtomsconstant.OEOFlavor::XYZ
The
OEOFlavor.XYZnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOEWriteXYZFilefunction when writing a molecule into aOEFormat.XYZformat file.This namespace contains the following constants:
Charges
Specifies that the partial charge for each atom should be appended as an additional column.
Symbols
Write the atomic symbol instead of the atomic number.
SinglePrecision
Forces coordinates to be written in single precision with only 5 significant digits.
DoublePrecision
Forces coordinates to be written in double precision with only 18 significant digits.
Default
Equivalent to
Charges | Symbols. By default, what precision, single or double precision will be introspected from the molecule type.