|
carputils
Doxygen code documentation for the python framework controlling openCARP
|
Serialise and de-serialise and run Python functions. More...
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() | |
Serialise and de-serialise and run Python functions.
| def carputils.job.serialise.execute_serialised_function | ( | filename | ) |
| def carputils.job.serialise.filename | ( | directory, | |
| name | |||
| ) |
| def carputils.job.serialise.serialise_function | ( | function, | |
directory = '.' |
|||
| ) |
| 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') |