Skip to content

Numerical disrepancy in Lopez model tests #11

@johnbachman

Description

@johnbachman

From Jeremy:

I ran the tests on earm and got this error for all lopez models:

AssertionError: Model earm.mito.lopez_embedded does not match reference version: Mismatch at component 38: Parameter(name='bind_BidM_Bcl2_kf', value=1.0000000000000002e-06) in the reference model not equal to Parameter(name='bind_BidM_Bcl2_kf', value=1e-06) in the current model.

I guess 1e6 / (N_A * 1/N_A * 1e12) did not evaluate to exactly 1e-6 on your machine. In fact on mine when I examine the value carefully it turns out to be 9.9999999999999995e-07. Hmm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions