Import in python using from mcot.core._scripts.tree.extract import run_from_args
mcot.core._scripts.tree.extract.
run_from_args
Runs the script based on a Namespace containing the command line arguments