Skip to content

Commit

Permalink
Always include description at the top of the experiment summary Slack…
Browse files Browse the repository at this point in the history
… message (#61)
  • Loading branch information
slyubomirsky authored Mar 24, 2020
1 parent f1a12c2 commit 7169c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subsystem/exp_results/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ def main(config_dir, home_dir, output_dir):
attachments.append(
build_attachment(
title='Successful benchmarks',
pretext=description,
fields=successful_experiments))
if failed_experiments:
attachments.append(
Expand All @@ -127,7 +126,8 @@ def main(config_dir, home_dir, output_dir):
success, report = post_message(
webhook,
build_message(
text='Dashboard Results',
text='*Dashboard Results*{}'.format(
'\n' + description if description != '' else ''),
attachments=attachments))
write_status(output_dir, success, report)

Expand Down

0 comments on commit 7169c3e

Please sign in to comment.