Skip to content

Commit

Permalink
Adds Activitysim version to log file (issue #690)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewTheTM committed Jul 12, 2023
1 parent 1a27ee1 commit d6aaf2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion activitysim/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import warnings

import numpy as np

import activitysim
from activitysim.core import chunk, config, inject, mem, pipeline, tracing

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -292,6 +292,8 @@ def run(args):
config.filter_warnings()
logging.captureWarnings(capture=True)

logger.info("ActivitySim Version: %s" % activitysim.__version__)

# directories
for k in ["configs_dir", "settings_file_name", "data_dir", "output_dir"]:
logger.info("SETTING %s: %s" % (k, inject.get_injectable(k, None)))
Expand Down

0 comments on commit d6aaf2d

Please sign in to comment.