iota2.configuration_files.check_config_parameters
This module contains all functions for testing known configuration parameters
These test must concern only typing
They can be overloaded by providing custom check.
Functions
|
|
|
|
|
This function returns True if the custom features are activated and all imports succeed |
|
|
|
|
|
|
|
|
|
if multiple tiles are used with exogenous data, make sure the name contains $TILE |
|
search for functions given by name returns found_functions and not_found_functions module_path: path of custom external features function_names: names of the searched functions |
|
|
|
Return the value of variable in the section from config file define in the init phase of the class. |
|
This function open a shapefile and search the data_field. |
|
This function raise an error if region field is not a string |
|
searches function first in user defined module and then fallbacks to iota2 module path |
|
Get a signature object for the passed callable. |
|
|
|
|
|
This function check if variable is in obj and if it has varType type. |
|
checks if kwargs type match callable callable: the calloable to check against kwargs: keyword arguments to check against callable |
|
checks keword arguments typing functions: a dictionnary mapping function name to associated callable flist: a list of tuples with function names / arguments |
|
checks the code path returns False if code path refers to default external_code raises an error if code path refers to non existing custom code file returns True if the code path refers to an existing custom code file |
|
Check if a module can be imported |
Classes
|
every neural networks provided by iota2 must inherit from this one to ensure some specific signatures. |