Manage checking user input.
|
|
checkFileExists(self,
infile,
logger=None)
Check if the provided input file exists. |
|
|
|
|
|
|
|
checkReactants(self,
reactants,
logger=None)
Check the provided reactants structure. |
|
|
|
int or 'all', list, list, set
|
checkRandomChannelsInput(self,
reactants,
num_random_channels,
random_types,
random_seed,
allow_adsorption_onto,
logger=None)
Check parameters for generating random channels. |
|
|
|
list, set
|
|
|
|
checkChannelDefs(self,
channeldefs,
logger=None)
Check properties of the supplied channel definitions. |
|
|
|
bool
|
checkIfNotAdsorbable(self,
astructure,
atom_index,
matches)
Check if the provided atom can function as an adsorption site, i.e. |
|
|
|
list of boolean
|
checkIfNotSimpleBond(self,
astructure,
atom_one,
atom_two,
no_reactive_h)
Check if the provided two atoms do not form a simple bond, i.e. |
|
|
|
list
|
checkChannelUniqueness(self,
astructure,
bond1idx1,
bond1idx2,
bond2idx1,
bond2idx2)
For the provided structure use SMILES analysis to determine if the
defined single or double displacement reaction channels, i.e. |
|
|
|
list
|
checkChannelDefsVsReactants(self,
channeldefs,
reactants,
matches,
no_reactive_h,
unique,
logger=None)
Check user defined channels against user defined reactants. |
|
|
|
float
|
|
|
int or 'all'
|
|
|
list of strs
|
checkRandomTypes(self,
random_types,
logger=None)
Check the specified types of random channels. |
|
|
|
|
checkRandomSeed(self,
random_seed,
logger=None)
Check the specified random seed. |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|