schrodinger.application.canvas.base module

Base python wrappers to the Canvas C++ libraries.

All of the functions and classes wrapped in this module require additional licenses to work. Some require only require CANVAS_SHARED (covered by the mmshare license), while others require CANVAS_FULL.

Copyright Schrodinger, LLC. All rights reserved.

class schrodinger.application.canvas.base.ChmMolPtr(this)

Bases: schrodinger.infra.canvas.ChmMol

__init__(ChmMol self) → ChmMol

__init__(ChmMol self, std::istream & inputstream) -> ChmMol

__class__

alias of builtins.type

__delattr__

Implement delattr(self, name).

__dict__ = mappingproxy({'__module__': 'schrodinger.application.canvas.base', '__init__': <function ChmMolPtr.__init__>, '__doc__': None})
__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__module__ = 'schrodinger.application.canvas.base'
__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__()
__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__()

ChmMol___str__(ChmMol self) -> std::string

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

__swig_destroy__()

delete_ChmMol(ChmMol self)

__weakref__

list of weak references to the object (if defined)

addAromaticBond()

ChmMol_addAromaticBond(ChmMol self, ChmAtom a1, ChmAtom a2)

addAtom()

ChmMol_addAtom(ChmMol self, ChmAtom arg3)

addBond()

ChmMol_addBond(ChmMol self, ChmAtom a1, ChmAtom a2, ChmBondOrder order=Single) -> ChmBond

addConformation()

ChmMol_addConformation(ChmMol self, ChmConformation & arg3)

addDoubleBond()

ChmMol_addDoubleBond(ChmMol self, ChmAtom a1, ChmAtom a2, ChmBondStereo cisTrans=BondNotApplicable)

addMolecule()

ChmMol_addMolecule(ChmMol self, ChmMol arg3)

addMoleculeRaw()

ChmMol_addMoleculeRaw(ChmMol self, ChmMol arg3, std::vector< int,std::allocator< int > > & arg4)

addSingleBond()

ChmMol_addSingleBond(ChmMol self, ChmAtom a1, ChmAtom a2)

addTripleBond()

ChmMol_addTripleBond(ChmMol self, ChmAtom a1, ChmAtom a2)

addZeroOrderBond()

ChmMol_addZeroOrderBond(ChmMol self, ChmAtom a1, ChmAtom a2)

areBonded()

ChmMol_areBonded(ChmMol self, int atomIndex1, int atomIndex2) -> bool

atomsAtOrigin()

ChmMol_atomsAtOrigin(ChmMol self) -> uint

checkCoords()

ChmMol_checkCoords(ChmMol self)

checkStereo()

ChmMol_checkStereo(ChmMol self)

chiralCenters()

ChmMol_chiralCenters(ChmMol self, bool const includeUndefined=False) -> int

cisTransBonds()

ChmMol_cisTransBonds(ChmMol self) -> int

clear()

ChmMol_clear(ChmMol self)

clearAllUserData()

ChmMol_clearAllUserData(ChmMol self)

clearAtomBondProperties()

ChmMol_clearAtomBondProperties(ChmMol self)

clearAtomProperty()

ChmMol_clearAtomProperty(ChmMol self, ChmAtom atom, std::string const & key)

clearBondFlags()

ChmMol_clearBondFlags(ChmMol self)

clearBondProperty()

ChmMol_clearBondProperty(ChmMol self, ChmBond bond, std::string const & key)

clearConfs()

ChmMol_clearConfs(ChmMol self)

clearCoords()

ChmMol_clearCoords(ChmMol self)

clearProperties()

ChmMol_clearProperties(ChmMol self)

clone()

ChmMol_clone(ChmMol self, bool randomizeNumbering=False, ChmBitset atomsToDiscard=None, bool raw=False) -> ChmMol

cloneProperties()

ChmMol_cloneProperties(ChmMol self, ChmMol mol)

deleteProperty()

ChmMol_deleteProperty(ChmMol self, char const * key)

destroyAtom(ChmAtom arg2, bool packIndices=True)

ChmMol_destroyAtom(ChmMol self, uint index, bool packIndices=True)

destroyBond(ChmBond bond)

ChmMol_destroyBond(ChmMol self, uint index)

flipBondFlags()

ChmMol_flipBondFlags(ChmMol self)

static fromMAE(std::string const & maeString) → ChmMol
static fromMDL(std::string const & arg1, bool autoName=False, bool validateCisTrans=False, bool perceiveHybridization=True, bool rigorousAromaticity=True) → ChmMol

fromMDL(std::istream & inputstream, bool autoName=False, bool validateCisTrans=False, bool perceiveHybridization=True, bool rigorousAromaticity=True) -> ChmMol

static fromSMILES(char const * arg1, bool autoName=False, bool validateCisTrans=False, bool perceiveHybridization=True, bool rigorousAromaticity=True) → ChmMol

fromSMILES(std::istream & inputstream, bool autoName=False, bool validateCisTrans=False, bool perceiveHybridization=True, bool rigorousAromaticity=True) -> ChmMol

genCoords()

ChmMol_genCoords(ChmMol self)

getAbsoluteChiralityFlag()

ChmMol_getAbsoluteChiralityFlag(ChmMol self) -> bool

getAtom()

ChmMol_getAtom(ChmMol self, int arg3) -> ChmAtom

getAtomCount()

ChmMol_getAtomCount(ChmMol self, bool wantImplicitHydrogens=False) -> int

getAtoms()

ChmMol_getAtoms(ChmMol self, bool wantImplicitHydrogens=False) -> ChmAtoms

getAtomsByMask()

ChmMol_getAtomsByMask(ChmMol self, ChmBitset mask) -> ChmAtoms

getAtomsForBonds()

ChmMol_getAtomsForBonds(ChmMol self, ChmBonds bonds) -> ChmAtoms

getBond(int arg2) → ChmBond

ChmMol_getBond(ChmMol self, ChmAtom a1, ChmAtom a2) -> ChmBond

getBondCount()

ChmMol_getBondCount(ChmMol self, bool wantImplicitHydrogens=False) -> int

getBondFlags()

ChmMol_getBondFlags(ChmMol self, std::vector< int,std::allocator< int > > & flags, bool const explicitH)

getBondMaskForAtomMask()

ChmMol_getBondMaskForAtomMask(ChmMol self, ChmBitset atomMask) -> ChmBitset

getBonds()

ChmMol_getBonds(ChmMol self, bool wantImplicitHydrogens=False) -> ChmBonds

getBondsByMask()

ChmMol_getBondsByMask(ChmMol self, ChmBitset mask) -> ChmBonds

getBondsForAtomMask()

ChmMol_getBondsForAtomMask(ChmMol self, ChmBitset atomMask) -> ChmBonds

getBondsForAtoms()

ChmMol_getBondsForAtoms(ChmMol self, ChmAtoms atoms) -> ChmBonds

getComponentCount()

ChmMol_getComponentCount(ChmMol self) -> uint

getConformation()

ChmMol_getConformation(ChmMol self, int arg3) -> ChmConformation

getConformationCount()

ChmMol_getConformationCount(ChmMol self) -> int

getConformations()

ChmMol_getConformations(ChmMol self) -> ChmConformations

getConnectionTable()

ChmMol_getConnectionTable(ChmMol self, bool const wantImplicitHydrogens=False) -> ChmSymmetricMatrixUnsignedInt

getConnectionTableWithBondOrders()

ChmMol_getConnectionTableWithBondOrders(ChmMol self, bool const wantImplicitHydrogens=False, bool const wantMaeOrder=False) -> ChmSymmetricMatrixUnsignedInt

getCoordinates()

ChmMol_getCoordinates(ChmMol self, std::vector< ChmPoint,std::allocator< ChmPoint > > & coords)

getDistanceMatrix()

ChmMol_getDistanceMatrix(ChmMol self, bool const wantImplicitHydrogens=False, bool const storeInfiniteDistancesAsZero=True, bool const throwExceptionIfMultipleFragments=False) -> ChmSymmetricMatrixUnsignedInt

getDistanceMatrix3D()

ChmMol_getDistanceMatrix3D(ChmMol self, bool const wantImplicitHydrogens=False, bool const wantRoot=True) -> ChmSymmetricMatrix< float >

getDistanceMatrix3D2()

ChmMol_getDistanceMatrix3D2(ChmMol self, bool const wantImplicitHydrogens=False, bool const wantRoot=True) -> ChmSymmetricMatrix< double >

getFirstImplicitHydrogenIndex()

ChmMol_getFirstImplicitHydrogenIndex(ChmMol self) -> int

getHash()

ChmMol_getHash(ChmMol self) -> uint

getHash64()

ChmMol_getHash64(ChmMol self) -> uint64

getHeavyAtomCount()

ChmMol_getHeavyAtomCount(ChmMol self) -> int

getHeavyAtoms()

ChmMol_getHeavyAtoms(ChmMol self) -> ChmAtoms

getHeavyBondCount()

ChmMol_getHeavyBondCount(ChmMol self) -> int

getHeavyBonds()

ChmMol_getHeavyBonds(ChmMol self) -> ChmBonds

getHydrogens()

ChmMol_getHydrogens(ChmMol self) -> ChmAtoms

getMW()

ChmMol_getMW(ChmMol self) -> double

getName()

ChmMol_getName(ChmMol self) -> std::string

getNetCharge()

ChmMol_getNetCharge(ChmMol self) -> int

getProperties()

ChmMol_getProperties(ChmMol self) -> PROPDATA

getPropertiesBegin()

ChmMol_getPropertiesBegin(ChmMol self) -> CHMMOLPROPINFO::const_iterator

getPropertiesEnd()

ChmMol_getPropertiesEnd(ChmMol self) -> CHMMOLPROPINFO::const_iterator

getPropertiesFor(ChmAtom atom) → std::vector< PROPPAIR,std::allocator< PROPPAIR > >

ChmMol_getPropertiesFor(ChmMol self, ChmBond bond) -> std::vector< PROPPAIR,std::allocator< PROPPAIR > >

getPropertiesForAtom()

ChmMol_getPropertiesForAtom(ChmMol self, int atomIndex) -> std::vector< PROPPAIR,std::allocator< PROPPAIR > >

getPropertiesForBond()

ChmMol_getPropertiesForBond(ChmMol self, int bondIndex) -> std::vector< PROPPAIR,std::allocator< PROPPAIR > >

getProperty()

ChmMol_getProperty(ChmMol self, char const * arg3) -> std::string

getPropertyCount()

ChmMol_getPropertyCount(ChmMol self) -> size_t

getPropertyForAtom()

ChmMol_getPropertyForAtom(ChmMol self, ChmAtom arg3, std::string const & arg4) -> std::string

getPropertyForBond()

ChmMol_getPropertyForBond(ChmMol self, ChmBond arg3, std::string const & arg4) -> std::string

getRingCount()

ChmMol_getRingCount(ChmMol self, bool deterministic=False) -> int

getRotatableBonds()

ChmMol_getRotatableBonds(ChmMol self) -> ChmBonds

getSMARTS(optionSMARTS::H const arg2, optionSMARTS::X const arg3, bool const wantStereo=False, bool const wantMapping=False, std::map< int, int, std::less< int >, std::allocator< std::pair< int const, int > > > * atomMappings=None, bool const useAtomicNumberOnAcyclicAtoms=False, bool const useBaseOne=False, bool const wantCharge=True) → std::string

getSMARTS(ChmBitset atomMask, ChmBitset bondMask, bool const markRings=False, optionSMARTS::H const arg5, optionSMARTS::X const arg6, bool const wantStereo=False, bool const wantMapping=False, std::map< int,std::string,std::less< int >,std::allocator< std::pair< int const,std::string > > > const * overrideAtomLabels=None, std::map< int,std::string,std::less< int >,std::allocator< std::pair< int const,std::string > > > const * overrideBondLabels=None, std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > > * atomMappings=None, bool const useAtomicNumberOnAcyclicAtoms=False, bool const useBaseOne=False, bool const wantCharge=True) -> std::string getSMARTS(ChmAtoms atomMask, bool const markRings=False, optionSMARTS::H const arg4, optionSMARTS::X const arg5, bool const wantStereo=False, bool const wantMapping=False, std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > > * atomMappings=None, bool const useAtomicNumberOnAcyclicAtoms=False, bool const useBaseOne=False, bool const wantCharge=True) -> std::string ChmMol_getSMARTS(ChmMol self, std::vector< EXTRAPREDICATE,std::allocator< EXTRAPREDICATE > > const & atomInfo, std::vector< EXTRAPREDICATE,std::allocator< EXTRAPREDICATE > > const & bondInfo, optionSMARTS::H const arg5, optionSMARTS::X const arg6, bool const wantStereo=True, bool const wantMapping=False, std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > > * atomMappings=None, bool const useAtomicNumberOnAcyclicAtoms=False, bool const useBaseOne=False, bool const wantCharge=True) -> std::string

getTautomerCode()

ChmMol_getTautomerCode(ChmMol self, bool considerEZStereo=True, bool considerRSStereo=True) -> uint

getTautomerCode64()

ChmMol_getTautomerCode64(ChmMol self, bool considerEZStereo=True, bool considerRSStereo=True) -> uint64

getTerminalAtoms()

ChmMol_getTerminalAtoms(ChmMol self) -> ChmAtoms

getUnrotatableBonds()

ChmMol_getUnrotatableBonds(ChmMol self) -> ChmBonds

getUserData()

ChmMol_getUserData(ChmMol self) -> uint

getZeroOrderBonds()

ChmMol_getZeroOrderBonds(ChmMol self) -> std::vector< CHMZOBITEM,std::allocator< CHMZOBITEM > >

has2DCoords()

ChmMol_has2DCoords(ChmMol self, bool duplicateOK=False, bool implicitToo=True) -> bool

has3DCoords()

ChmMol_has3DCoords(ChmMol self, bool duplicateOK=False, bool implicitToo=True) -> bool

hasAllHydrogens()

ChmMol_hasAllHydrogens(ChmMol self) -> bool

hasBondDirectionHint()

ChmMol_hasBondDirectionHint(ChmMol self) -> bool

hasCoords()

ChmMol_hasCoords(ChmMol self) -> bool

hasDistinctCoords()

ChmMol_hasDistinctCoords(ChmMol self, ChmAtomOption::H arg3) -> bool

hasImplicitHydrogens()

ChmMol_hasImplicitHydrogens(ChmMol self) -> bool

hasIsotope()

ChmMol_hasIsotope(ChmMol self) -> bool

hasProperty()

ChmMol_hasProperty(ChmMol self, char const * arg3) -> bool

isEmpty()

ChmMol_isEmpty(ChmMol self) -> bool

isKekulized()

ChmMol_isKekulized(ChmMol self) -> bool

kekulize()

ChmMol_kekulize(ChmMol self)

makeWildcard()

ChmMol_makeWildcard(ChmMol self)

mapToSMILES()

ChmMol_mapToSMILES(ChmMol self, std::vector< int,std::allocator< int > > & atomMapping, bool wantKekulized=False, bool wantAllH=False, bool wantStereo=True, bool wantCharge=True, bool test=False, bool forceOrder=False, bool rigorousAromaticity=True) -> std::string

markHydrogens()

ChmMol_markHydrogens(ChmMol self, ChmAtomOption::H arg3) -> int

markProchiral()

ChmMol_markProchiral(ChmMol self, bool onlyTerminal=False)

needsBondDirectionHint()

ChmMol_needsBondDirectionHint(ChmMol self) -> bool

neutralize()

ChmMol_neutralize(ChmMol self)

packIndices()

ChmMol_packIndices(ChmMol self) -> bool

perceiveHybridization()

ChmMol_perceiveHybridization(ChmMol self)

perceiveHydrogens()

ChmMol_perceiveHydrogens(ChmMol self, bool wantRadicals=False)

perceiveRings()

ChmMol_perceiveRings(ChmMol self, bool rigorousAromaticity=False, bool force=False)

placeHydrogens()

ChmMol_placeHydrogens(ChmMol self)

randomizeOrientation()

ChmMol_randomizeOrientation(ChmMol self)

reflectX0()

ChmMol_reflectX0(ChmMol self)

reflectY0()

ChmMol_reflectY0(ChmMol self)

removeAChiralHydrogens()

ChmMol_removeAChiralHydrogens(ChmMol self)

removeAtom()

ChmMol_removeAtom(ChmMol self, ChmAtom atom, bool packIndices=True)

removeAtomByIndex()

ChmMol_removeAtomByIndex(ChmMol self, uint index, bool packIndices=True)

removeAtoms()

ChmMol_removeAtoms(ChmMol self, ChmBitset atoms, bool packIndices=True)

removeConformation()

ChmMol_removeConformation(ChmMol self, ChmConformation & arg3)

removeFormalCharges()

ChmMol_removeFormalCharges(ChmMol self)

removeHydrogens(int hydrogenTreatment)

ChmMol_removeHydrogens(ChmMol self)

removeHydrogensAtOrigin()

ChmMol_removeHydrogensAtOrigin(ChmMol self)

removeImplicitHydrogens()

ChmMol_removeImplicitHydrogens(ChmMol self)

removeNonPolarHydrogens()

ChmMol_removeNonPolarHydrogens(ChmMol self)

setAbsoluteChiralityFlag()

ChmMol_setAbsoluteChiralityFlag(ChmMol self, bool on)

setAtomProperty()

ChmMol_setAtomProperty(ChmMol self, ChmAtom atom, std::string const & key, std::string const & value)

setBondProperty()

ChmMol_setBondProperty(ChmMol self, ChmBond bond, std::string const & key, std::string const & value)

setCoordinates()

ChmMol_setCoordinates(ChmMol self, std::vector< ChmPoint,std::allocator< ChmPoint > > const & newCoords)

setMaeProperty(std::string const & key, bool const value)

setMaeProperty(std::string const & key, int const value) setMaeProperty(std::string const & key, double const value, int const precision) ChmMol_setMaeProperty(ChmMol self, std::string const & key, std::string const & value)

setName()

ChmMol_setName(ChmMol self, std::string const & arg3)

setProperty()

ChmMol_setProperty(ChmMol self, char const * key, char const * value, bool temp=False)

setPropertyForAtom()

ChmMol_setPropertyForAtom(ChmMol self, int const atomIndex, std::string const & key, std::string const & value)

setPropertyforBond()

ChmMol_setPropertyforBond(ChmMol self, int const bondIndex, std::string const & key, std::string const & value)

setUserData()

ChmMol_setUserData(ChmMol self, uint data)

store()

ChmMol_store(ChmMol self, std::ostream & os, bool const wantCoordinates=True, char const * overrideName=None)

subset()

ChmMol_subset(ChmMol self, ChmBitset desiredAtoms, bool const breakAliphaticRings=True, bool const breakAromaticRings=False) -> ChmMol

subsetByBonds()

ChmMol_subsetByBonds(ChmMol self, ChmBitset desiredBonds) -> ChmMol

thisown

The membership flag

toCanonicalSMILES()

ChmMol_toCanonicalSMILES(ChmMol self, bool wantAllH=False, bool test=False) -> std::string

toChmQuery(bool allH=False, bool wantX=False) → ChmQuery

ChmMol_toChmQuery(ChmMol self, std::vector< EXTRAPREDICATE,std::allocator< EXTRAPREDICATE > > const & atomInfo, std::vector< EXTRAPREDICATE,std::allocator< EXTRAPREDICATE > > const & bondInfo) -> ChmQuery

toGenericSMARTS()

ChmMol_toGenericSMARTS(ChmMol self, bool wantBondOrder=False, bool wantCharge=False, bool wantAromaticity=False, bool genericAtomToo=False, bool wantStereo=False, bool wantAllHydrogens=False, bool wantAllClosureBonds=False) -> std::string

toMAE()

ChmMol_toMAE(ChmMol self, bool wantProperties, bool addH) -> std::string

toMDL(optionMDL::H arg2, bool withprops=True, bool withCoords=True, char const * overrideName=None, int v3format=0, bool wantDollarSigns=True, bool echoMaeType=False, bool const check=False) → std::string

ChmMol_toMDL(ChmMol self, std::ostream & os, optionMDL::H arg4, bool withprops=True, bool withCoords=True, char const * overrideName=None, int v3format=0, bool wantDollarSigns=True, bool echoMaeType=False, bool const check=False)

toSMILES()

ChmMol_toSMILES(ChmMol self, bool wantKekulized=False, bool wantAllH=False, bool wantStereo=True, bool wantCharge=True, bool test=False, bool forceOrder=False, bool rigorousAromaticity=True) -> std::string

toString()

ChmMol_toString(ChmMol self) -> std::string

toUniqueSMILES()

ChmMol_toUniqueSMILES(ChmMol self, bool wantAllH=False, bool test=False) -> std::string

topoCentroid()

ChmMol_topoCentroid(ChmMol self, double const radius=3.0) -> ChmMol

topoCentroidByCount()

ChmMol_topoCentroidByCount(ChmMol self, uint const desiredHeavyAtomCount, double const binWidth=0.5) -> ChmMol

translateAlleneStereo()

ChmMol_translateAlleneStereo(ChmMol self, std::vector< ChmAtom,std::allocator< ChmAtom > > & atomChain, ChmAlleneChirality const MorP)

translateCisTransStereo()

ChmMol_translateCisTransStereo(ChmMol self, std::vector< ChmAtom,std::allocator< ChmAtom > > const & atomChain, ChmBondStereo const CisTrans, int const permissive=0)

translateTetrahedralStereo()

ChmMol_translateTetrahedralStereo(ChmMol self, ChmAtom central, std::vector< ChmAtom,std::allocator< ChmAtom > > const & priorities, ChmCIPChirality const RorS, int const permissive=0)

undefinedChiralCenters()

ChmMol_undefinedChiralCenters(ChmMol self) -> int

unkekulize()

ChmMol_unkekulize(ChmMol self)

unmarkProchiral()

ChmMol_unmarkProchiral(ChmMol self)

validateCisTrans()

ChmMol_validateCisTrans(ChmMol self)

zeroCoords()

ChmMol_zeroCoords(ChmMol self)

class schrodinger.application.canvas.base.ChmRowUIDFilterPtr(this)

Bases: schrodinger.infra.canvas.ChmRowUIDFilter

__init__(ChmRowUIDFilter self, std::vector< int64, std::allocator< int64 > > const & uids, bool const isSorted=False) → ChmRowUIDFilter

__init__(ChmRowUIDFilter self, std::vector< int64,std::allocator< int64 > > const & uids, uint64 const logicalSize, bool const isSorted=False) -> ChmRowUIDFilter __init__(ChmRowUIDFilter self, std::set< uint64 > const & uids) -> ChmRowUIDFilter __init__(ChmRowUIDFilter self, std::set< uint64 > const & uids, uint64 const logicalSize) -> ChmRowUIDFilter __init__(ChmRowUIDFilter self, std::istream & inputstream) -> ChmRowUIDFilter __init__(ChmRowUIDFilter self, char const * c, uint const bytelen) -> ChmRowUIDFilter __init__(ChmRowUIDFilter self, chmfilename const & filename) -> ChmRowUIDFilter __init__(ChmRowUIDFilter self, ChmRowUIDFilter rhs) -> ChmRowUIDFilter __init__(ChmRowUIDFilter self, ChmRangeUIDFilter rhs) -> ChmRowUIDFilter __init__(ChmRowUIDFilter self, ChmCompressedBitset64 arg2) -> ChmRowUIDFilter __init__(ChmRowUIDFilter self) -> ChmRowUIDFilter

__class__

alias of builtins.type

__contains__()

ChmRangeUIDFilter___contains__(ChmRangeUIDFilter self, ChmRangeUIDFilter rhs) -> bool

__delattr__

Implement delattr(self, name).

__dict__ = mappingproxy({'__module__': 'schrodinger.application.canvas.base', '__init__': <function ChmRowUIDFilterPtr.__init__>, '__doc__': None})
__dir__() → list

default dir() implementation

__eq__()

ChmRowUIDFilter___eq__(ChmRowUIDFilter self, ChmRowUIDFilter rhs) -> bool

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__ = None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__invert__()

ChmRowUIDFilter___invert__(ChmRowUIDFilter self) -> ChmRowUIDFilter

__le__

Return self<=value.

__lt__

Return self<value.

__module__ = 'schrodinger.application.canvas.base'
__ne__()

ChmRowUIDFilter___ne__(ChmRowUIDFilter self, ChmRowUIDFilter rhs) -> bool

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__()
__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__()

ChmRangeUIDFilter___str__(ChmRangeUIDFilter self) -> std::string

__sub__()

ChmRowUIDFilter___sub__(ChmRowUIDFilter self, ChmRowUIDFilter rhs) -> ChmRowUIDFilter

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

__swig_destroy__()

delete_ChmRowUIDFilter(ChmRowUIDFilter self)

__weakref__

list of weak references to the object (if defined)

containsKey()

ChmRangeUIDFilter_containsKey(ChmRangeUIDFilter self, uint64 key) -> bool

count()

ChmRangeUIDFilter_count(ChmRangeUIDFilter self) -> uint64

static fromBlob(std::string const & raw) → ChmRangeUIDFilter
static fromFile(std::string const & filename) → ChmRowUIDFilter
getFirstItem()

ChmRangeUIDFilter_getFirstItem(ChmRangeUIDFilter self) -> uint64

getHash()

ChmRangeUIDFilter_getHash(ChmRangeUIDFilter self) -> uint

getOrder()

ChmRangeUIDFilter_getOrder(ChmRangeUIDFilter self) -> std::vector< uint64,std::allocator< uint64 > > const *

hasNext()

ChmRangeUIDFilter_hasNext(ChmRangeUIDFilter self) -> bool

isEOF()

ChmRangeUIDFilter_isEOF(ChmRangeUIDFilter self) -> bool

isSorted()

ChmRangeUIDFilter_isSorted(ChmRangeUIDFilter self) -> bool

logicalSize()

ChmRangeUIDFilter_logicalSize(ChmRangeUIDFilter self) -> uint64

next()

ChmRangeUIDFilter_next(ChmRangeUIDFilter self) -> int64

rewind()

ChmRangeUIDFilter_rewind(ChmRangeUIDFilter self)

store()

ChmRangeUIDFilter_store(ChmRangeUIDFilter self, std::ostream & os)

thisown

The membership flag

toBlob()

ChmRangeUIDFilter_toBlob(ChmRangeUIDFilter self) -> std::string

toCSV()

ChmRangeUIDFilter_toCSV(ChmRangeUIDFilter self, std::ostream & os)

toFile()

ChmRangeUIDFilter_toFile(ChmRangeUIDFilter self, std::string const & filename)

toSQL()

ChmRangeUIDFilter_toSQL(ChmRangeUIDFilter self, std::ostream & os)

toSet()

ChmRangeUIDFilter_toSet(ChmRangeUIDFilter self, std::set< uint64 > & uids)

toUIDS()

ChmRangeUIDFilter_toUIDS(ChmRangeUIDFilter self)

class schrodinger.application.canvas.base.ChmColumnUIDFilterPtr(this)

Bases: schrodinger.infra.canvas.ChmColumnUIDFilter

__init__(ChmColumnUIDFilter self, std::vector< int64, std::allocator< int64 > > const & uids, bool const isSorted=False) → ChmColumnUIDFilter

__init__(ChmColumnUIDFilter self, std::vector< int64,std::allocator< int64 > > const & uids, uint64 const logicalSize, bool const isSorted=False) -> ChmColumnUIDFilter __init__(ChmColumnUIDFilter self, std::set< uint64 > const & uids) -> ChmColumnUIDFilter __init__(ChmColumnUIDFilter self, std::set< uint64 > const & uids, uint64 const logicalSize) -> ChmColumnUIDFilter __init__(ChmColumnUIDFilter self, std::istream & inputstream) -> ChmColumnUIDFilter __init__(ChmColumnUIDFilter self, char const * c, uint const bytelen) -> ChmColumnUIDFilter __init__(ChmColumnUIDFilter self, ChmColumnUIDFilter rhs) -> ChmColumnUIDFilter __init__(ChmColumnUIDFilter self, ChmRangeUIDFilter rhs) -> ChmColumnUIDFilter __init__(ChmColumnUIDFilter self, chmfilename const & filename) -> ChmColumnUIDFilter __init__(ChmColumnUIDFilter self, ChmCompressedBitset64 arg2) -> ChmColumnUIDFilter __init__(ChmColumnUIDFilter self) -> ChmColumnUIDFilter

__class__

alias of builtins.type

__contains__()

ChmRangeUIDFilter___contains__(ChmRangeUIDFilter self, ChmRangeUIDFilter rhs) -> bool

__delattr__

Implement delattr(self, name).

__dict__ = mappingproxy({'__module__': 'schrodinger.application.canvas.base', '__init__': <function ChmColumnUIDFilterPtr.__init__>, '__doc__': None})
__dir__() → list

default dir() implementation

__eq__()

ChmColumnUIDFilter___eq__(ChmColumnUIDFilter self, ChmColumnUIDFilter rhs) -> bool

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__ = None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__invert__()

ChmColumnUIDFilter___invert__(ChmColumnUIDFilter self) -> ChmColumnUIDFilter

__le__

Return self<=value.

__lt__

Return self<value.

__module__ = 'schrodinger.application.canvas.base'
__ne__()

ChmColumnUIDFilter___ne__(ChmColumnUIDFilter self, ChmColumnUIDFilter rhs) -> bool

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__()
__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__()

ChmRangeUIDFilter___str__(ChmRangeUIDFilter self) -> std::string

__sub__()

ChmColumnUIDFilter___sub__(ChmColumnUIDFilter self, ChmColumnUIDFilter rhs) -> ChmColumnUIDFilter

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

__swig_destroy__()

delete_ChmColumnUIDFilter(ChmColumnUIDFilter self)

__weakref__

list of weak references to the object (if defined)

containsKey()

ChmRangeUIDFilter_containsKey(ChmRangeUIDFilter self, uint64 key) -> bool

count()

ChmRangeUIDFilter_count(ChmRangeUIDFilter self) -> uint64

static fromBlob(std::string const & raw) → ChmRangeUIDFilter
static fromFile(std::string const & filename) → ChmColumnUIDFilter
getAutoScaleInfo()

ChmColumnUIDFilter_getAutoScaleInfo(ChmColumnUIDFilter self) -> std::map< uint64,std::pair< double,double >,std::less< uint64 >,std::allocator< std::pair< uint64 const,std::pair< double,double > > > > const &

getFirstItem()

ChmRangeUIDFilter_getFirstItem(ChmRangeUIDFilter self) -> uint64

getHash()

ChmRangeUIDFilter_getHash(ChmRangeUIDFilter self) -> uint

getOrder()

ChmRangeUIDFilter_getOrder(ChmRangeUIDFilter self) -> std::vector< uint64,std::allocator< uint64 > > const *

hasAutoScaleInfo()

ChmColumnUIDFilter_hasAutoScaleInfo(ChmColumnUIDFilter self) -> bool

hasNext()

ChmRangeUIDFilter_hasNext(ChmRangeUIDFilter self) -> bool

isEOF()

ChmRangeUIDFilter_isEOF(ChmRangeUIDFilter self) -> bool

isSorted()

ChmRangeUIDFilter_isSorted(ChmRangeUIDFilter self) -> bool

logicalSize()

ChmRangeUIDFilter_logicalSize(ChmRangeUIDFilter self) -> uint64

next()

ChmRangeUIDFilter_next(ChmRangeUIDFilter self) -> int64

rewind()

ChmRangeUIDFilter_rewind(ChmRangeUIDFilter self)

setAutoScaleInfo()

ChmColumnUIDFilter_setAutoScaleInfo(ChmColumnUIDFilter self, std::map< uint64,std::pair< double,double >,std::less< uint64 >,std::allocator< std::pair< uint64 const,std::pair< double,double > > > > & info)

store()

ChmRangeUIDFilter_store(ChmRangeUIDFilter self, std::ostream & os)

thisown

The membership flag

toBlob()

ChmRangeUIDFilter_toBlob(ChmRangeUIDFilter self) -> std::string

toCSV()

ChmRangeUIDFilter_toCSV(ChmRangeUIDFilter self, std::ostream & os)

toFile()

ChmRangeUIDFilter_toFile(ChmRangeUIDFilter self, std::string const & filename)

toSQL()

ChmRangeUIDFilter_toSQL(ChmRangeUIDFilter self, std::ostream & os)

toSet()

ChmRangeUIDFilter_toSet(ChmRangeUIDFilter self, std::set< uint64 > & uids)

toUIDS()

ChmRangeUIDFilter_toUIDS(ChmRangeUIDFilter self)