carputils
Doxygen code documentation for the python framework controlling openCARP
Variables
bin.cuclean Namespace Reference

Clean the output of openCARP examples in the example repositories using the carptests framework. More...

Variables

 parser = argparse.ArgumentParser(description=__doc__)
 
 default_pkg = settings.config.REGRESSION_PKG
 
 nargs
 
 default
 
 help
 
 args = parser.parse_args()
 
 modules = testing.find_multi(args.modules, return_modules=True)
 
list run_funcs = []
 
 run = getattr(mod, 'run')
 
tuple msg
 
 proceed = prompt.query_yes_no(msg, 'no')
 
 CLEAN_BATCH
 
 mod = __import__(run.__module__, fromlist=[''])
 
 wkdir = os.path.dirname(mod.__file__)
 

Detailed Description

Clean the output of openCARP examples in the example repositories using the carptests framework.

Variable Documentation

◆ args

bin.cuclean.args = parser.parse_args()

◆ CLEAN_BATCH

bin.cuclean.CLEAN_BATCH

◆ default

bin.cuclean.default

◆ default_pkg

list bin.cuclean.default_pkg = settings.config.REGRESSION_PKG

◆ help

bin.cuclean.help

◆ mod

bin.cuclean.mod = __import__(run.__module__, fromlist=[''])

◆ modules

bin.cuclean.modules = testing.find_multi(args.modules, return_modules=True)

◆ msg

tuple bin.cuclean.msg
Initial value:
1 = ('Are you sure you want to execute the above modules with the --clean\n'
2  'option? If any of the modules do not correctly handle --clean, it\n'
3  'may result in the generation of more simulation output.')

◆ nargs

bin.cuclean.nargs

◆ parser

bin.cuclean.parser = argparse.ArgumentParser(description=__doc__)

◆ proceed

bin.cuclean.proceed = prompt.query_yes_no(msg, 'no')

◆ run

bin.cuclean.run = getattr(mod, 'run')

◆ run_funcs

list bin.cuclean.run_funcs = []

◆ wkdir

bin.cuclean.wkdir = os.path.dirname(mod.__file__)