Skip to content

test_parameters_with_sbml fails sometimes #14

Description

@mfuegger

Running pytest, results sometimes in test_parameters_with_sbml failing. The error occurs when running pytest several times and is not deterministically reproducible. It may have to do with the fact that this is a sweep and the order of the generated models is not fixed.

Output:

  assert compare_model_ignore_order(model_str, "test_tools/model_31.txt")

E assert False
E + where False = compare_model_ignore_order("\nSpecies\nA.a1,1\nA.a2,1\nB,1\n\nMappings\nA :\nA.a1\nA.a2\n\nParameters\na,1\nb,1\nc,1\nd,1\nf,1\nh,1\nvolume,1\n\n....a2')], 'pr': [(2, 'A.a2')], 'kin': '5*(b + c)/10'}\nreaction_2,{'re': [(1, 'B')], 'pr': [(2, 'B')], 'kin': 'B * h'}\n", 'test_tools/model_31.txt')

test_script.py:1005: AssertionError
---------- Captured stdout call -----------
Lines in results but not in file:
test: B,20.085537405508152

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions