OESiteHopperScore

class OESiteHopperScore : public OESiteHopperResults

This class is use to hold the score and results from a SiteHopper search.

The following methods are publicly inherited from OESiteHopperResults:

operator=

GetRank

SetColorTanimoto

GetColorScale

GetSequenceSimilarity

SetRank

GetColorTanimoto

GetShapeTanimoto

SetSequenceSimilarity

GetPatchScore

SetColorScale

SetShapeTanimoto

Constructors

OESiteHopperScore() -> OESiteHopperScore
OESiteHopperScore(rhs: OESiteHopperScore) -> OESiteHopperScore

Default constructors.

GetDesignUnit

GetDesignUnit() -> OEDesignUnit

Get output OEDesignUnit for this result. The transfrom from the overlay will already be applied.

GetID

GetID() -> int

Get database index for this result.

GetTitle

GetTitle() -> str

Get title from OEDesignUnit.

GetTransform

GetTransform() -> OETrans

Get the transform from the overlay. This allows applying the same transform to other objects to move them into the output frame of reference.

Note

When asking for the OEDesignUnit from this class, DO NOT apply this transform as the OEDesignUnit will already be transformed.

SetDesignUnit

SetDesignUnit(du: OEDesignUnit) -> None

Internal use: Set the OEDesignUnit.

SetID

SetID(id: int) -> None

Internal use: Set the database index.

SetTitle

SetTitle(title: str) -> None

Internal use: Set the title.

SetTransform

SetTransform(trans: OETrans) -> None

Internal use: Set the transform.