OEXLogPResult

class OEXLogPResult

Used by OEGetXLogPResult function to return the computed XLogP and result status.

Constructors

OEXLogPResult(valid: bool, value: float) -> OEXLogPResult
OEXLogPResult(rhs: OEXLogPResult) -> OEXLogPResult

Constructor. Since this class is mainly used to return values and status from the OEGetXLogPResult function, this is generally not used.

IsValid()

IsValid() -> bool

Returns whether the computed value is valid for the molecule. The main reason that the computation fails is that the molecule has one or more atoms that are not parameterized.

GetValue

GetValue() -> float

Returns the computed XLogP value.