Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

different PYTHONPATH between local test and submission #5

@mschrimpf

Description

@mschrimpf

When running python models/base_models.py locally, the models directory is automatically added to the PYTHONPATH (even if running with PYTHONPATH=. python models/base_models.py).
In our submission system however, we only import these files and therefore don't have the models directory in the path. This can lead to mismatched import errors.

I'd suggest moving the main file for local verification to the top level, that might also solve #4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions