Skip to content

Commit

Permalink
Merge pull request #146 from automl/138-run-names-in-logs-are-not-dis…
Browse files Browse the repository at this point in the history
…tinguishable-dev

added parent directory to run display
  • Loading branch information
sarah-segel committed May 31, 2024
2 parents d496483 + 11eea1c commit 76b5997
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Version 1.2.1

## Quality of Life
- Runs now get displayed witn their parent directory for better distinguishability

# Version 1.2

## Plugins
Expand Down
6 changes: 5 additions & 1 deletion deepcave/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1145,8 +1145,12 @@ def load_run_inputs(
for run in runs:
if check_run_compatibility(run):
try:
run_path = run.path
if run_path is not None:
run_name = run_path.parent.name + "/" + run.name

values.append(run.id)
labels.append(run.name)
labels.append(run_name)
disabled.append(False)
except Exception:
pass
Expand Down

0 comments on commit 76b5997

Please sign in to comment.