run_script

Import in python using from mcot.core.scripts import run_script

mcot.core.scripts.run_script(add_to_parser, run_from_args, argc=None)[source]

Run script from command line

Parameters:
  • add_to_parser – function that takes an argument parser and adds information to it
  • run_from_args – function that runs the script based on the arguments of the parser
  • argc – command line arguments