Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 25, 2024
1 parent 390b5e0 commit 342fbb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alto/commands/parse_monitoring_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def _figsize(nrow=1, ncol=1, aspect=1, size=3):
def get_task_and_shard(log_path):
p = Path(log_path)
shard_name = p.parent.name
if shard_name == "cacheCopy" or shard_name.startswith("attempt-") or shard_name == 'execution':
if shard_name == "cacheCopy" or shard_name.startswith("attempt-") or shard_name == "execution":
p = p.parent
shard_name = p.parent.name

Expand Down

0 comments on commit 342fbb2

Please sign in to comment.