Skip to content

Add local path to simoc_abm in Development #413

Description

@granawkins

I'm realizing that now, when we make changes to simoc-abm, you can't preview them in the frontend locally.

  1. When you run locally (is there an environment flag? where should we check?)
  2. Check for a sibling-directory called simoc-abm (just like simoc-web)
  3. If so, add it to the front of sys.path

This should cause the existing import statements (e.g. from simoc_abm.agent_model import AgentModel) to pull from the local instance instead of pip.

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