Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def main():
args = parse_cli_args()
# First check for valid PEtab
pp = petab.Problem.from_files(
sbml_file=args.sbml_file_name,
condition_file=args.condition_file_name,
measurement_file=args.measurement_file_name,
parameter_file=args.parameter_file_name)
petab.lint_problem(pp)
import_model(model_name=args.model_name,
sbml_file=args.sbml_file_name,
condition_file=args.condition_file_name,
measurement_file=args.measurement_file_name,
model_output_dir=args.model_output_dir,
compile=args.compile,
verbose=True)
def main():
"""
Command line interface to import a model in the PEtab
(https://github.com/ICB-DCM/PEtab/) format into sAMICI
"""
args = parse_cli_args()
# First check for valid PEtab
pp = petab.Problem.from_files(
sbml_file=args.sbml_file_name,
condition_file=args.condition_file_name,
measurement_file=args.measurement_file_name,
parameter_file=args.parameter_file_name)
petab.lint_problem(pp)
import_model(model_name=args.model_name,
sbml_file=args.sbml_file_name,
condition_file=args.condition_file_name,
measurement_file=args.measurement_file_name,
model_output_dir=args.model_output_dir,
compile=args.compile,
verbose=True)