carputils
Doxygen code documentation for the python framework controlling openCARP
Namespaces | Functions
bundleio.py File Reference

Namespaces

 carputils.bundle.bundleio
 

Functions

def carputils.bundle.bundleio.load_pscript (exp_file)
 Reads and returns the content of a script. More...
 
def carputils.bundle.bundleio.write_pscript (pscript, pscript_name, bundle_dir)
 Copy the protocol script to the experiment bundle folder. More...
 
def carputils.bundle.bundleio.write_metadata_file (metadata_s, bundle_dir)
 Copy the metadata file into the bundle. More...
 
def carputils.bundle.bundleio.copy_folder_in_bundle (folder_name, exp_dir, bundle_dir)
 Copy a folder from the experiment folder to the bundle folder. More...
 
def carputils.bundle.bundleio.copy_mesh_dir_in_bundle (exp_name, bundle_dir)
 Copy the folder MESH_DIR/exp_name/ (configured in settings.yaml) in the bundle folder if it exists. More...
 
def carputils.bundle.bundleio.create_zip (dir_path)
 Creates a zip archive of the given directory, at the same location. More...