Skip to content

Commit 2423704

Browse files
authored
Remove replay_dry_run condition for replay_dir (#1126)
### TL;DR Removed the conditional logic that sets `replay_dir` to `None` when `replay_dry_run` is `True`. ### What changed? Removed the code block that was checking for `cfg.trainer.get("replay_dry_run", False)` and setting `replay_dir` to `None` if that condition was true. This means that `replay_dir` will now always be set to the path constructed from `cfg.replay_job.replay_dir` and `cfg.run`. [Asana Task](https://app.asana.com/1/1209016784099267/project/1210348820405981/task/1210631127945425)
1 parent 728b9bc commit 2423704

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

mettascope/replays.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ def create_simulation(cfg):
6666

6767
sim_name = sim_config.env.split("/")[-1]
6868
replay_dir = f"{cfg.replay_job.replay_dir}/{cfg.run}"
69-
if cfg.trainer.get("replay_dry_run", False):
70-
replay_dir = None
7169

7270
sim = Simulation(
7371
sim_name,

0 commit comments

Comments
 (0)