carputils
Doxygen code documentation for the python framework controlling openCARP
|
Functions | |
def | filename (directory, name) |
Generate a filename for the serialised function. More... | |
def | serialise_function (function, directory='.') |
Serialise the provided function, placing it in the specified directory. More... | |
def | execute_serialised_function (filename) |
Load and execute the serialised function. More... | |
Variables | |
EXECSCRIPT = __file__ | |
parser = argparse.ArgumentParser('Run a serialised Python function') | |
help | |
args = parser.parse_args() | |
def carputils.job.serialise.execute_serialised_function | ( | filename | ) |
Load and execute the serialised function.
filename str Path of the serialised function
def carputils.job.serialise.filename | ( | directory, | |
name | |||
) |
Generate a filename for the serialised function.
directory str Path of the directory to place the function in name str Name of the function
str Path of a file that does not yet exist
def carputils.job.serialise.serialise_function | ( | function, | |
directory = '.' |
|||
) |
Serialise the provided function, placing it in the specified directory.
function function The function to serialise directory str, optional The directory to place the serialised function in
str The filename of the serialised function
carputils.job.serialise.args = parser.parse_args() |
carputils.job.serialise.EXECSCRIPT = __file__ |
carputils.job.serialise.help |
carputils.job.serialise.parser = argparse.ArgumentParser('Run a serialised Python function') |