PEtab-dev / petab_select

Repository for development of the model selection extension
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

sbmldocument leaking #43

Closed fbergmann closed 7 months ago

fbergmann commented 1 year ago

Running a basic analysis like:

    problem = Problem.from_yaml(args.yaml_file_name)
    best = evaluate_problem(problem,
            temp_dir=args.output_dir,
            delete_temp_files=False)

    if args.output_yaml: 
        best.to_yaml(args.output_yaml)

where the evaluate_problem function is one of mine, not doing anything with libsbml, Problem is the petab_select one. Yields a warning message:

swig/python detected a memory leak of type 'SBMLDocument *', no destructor found.
dweindl commented 1 year ago

Hm, that sounds more like an issue in python-libsbml / swig, doesn't it?

dweindl commented 7 months ago

Maybe related to https://github.com/swig/swig/issues/2638

Not a petab_select issue.