Skip to content

Add MultiEnv #2

@cliffckerr

Description

@cliffckerr

Should run in parallel:

import subenv

# Paths to Python interpreters (e.g. different conda, uv, or venv environments)
OLD = "/old/starsim/env/bin/python"
NEW = "/new/starsim/env/bin/python"

menv = subenv.MultiEnv([OLD, NEW])

menv('import starsim as ss')
menv('res = ss.Sim().run().results')
menv.compare('res') # or menv['res'].compare()

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