Skip to content

Commit

Permalink
test parametrization of ENV_PATH in app
Browse files Browse the repository at this point in the history
  • Loading branch information
mezdahun committed Jan 17, 2024
1 parent dd1df54 commit 79490fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abm/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

EXP_NAME = os.getenv("EXPERIMENT_NAME", "")
root_abm_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
env_path = os.path.join(root_abm_dir, f"{EXP_NAME}.env")
env_path = os.getenv("ENV_PATH", os.path.join(root_abm_dir, f"{EXP_NAME}.env"))
envconf = dotenv_values(env_path)

def start(parallel=False, headless=False, agent_behave_param_list=None):
Expand Down

0 comments on commit 79490fd

Please sign in to comment.