Skip to content

Commit cd73666

Browse files
authored
Merge pull request #710 from simvue-io/v2.0
V2.0
2 parents 3af12eb + ef9464a commit cd73666

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

poetry.lock

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

simvue/run.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,11 @@ def _tidy_run(self) -> None:
15211521
self._dispatcher.purge()
15221522
self._dispatcher.join()
15231523

1524-
if self._user_config.run.mode == "offline" and self._status != "created":
1524+
if (
1525+
self._sv_obj
1526+
and self._user_config.run.mode == "offline"
1527+
and self._status != "created"
1528+
):
15251529
self._user_config.offline.cache.joinpath(
15261530
"runs", f"{self._id}.closed"
15271531
).touch()

0 commit comments

Comments
 (0)