Skip to content

Commit

Permalink
better rule logging format
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Sep 30, 2020
1 parent 6e51133 commit 448ab66
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions workflow/scripts/slack_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
"type": "mrkdwn",
"text": ":heavy_check_mark: Snakemake workflow on *"
+ node_name
+ "* is starting the following rules:\n"
+ "* started the following rules at *"
+ current_time
+ "*.\n"
+ "\n".join(["\t\t - " + rule for rule in rules_list]),
},
},
Expand All @@ -77,7 +79,10 @@
"type": "mrkdwn",
"text": ":heavy_check_mark: Snakemake workflow on *"
+ node_name
+ "* completed the following rules:\n"
+ "* completed the following rules at "
+ "*"
+ current_time
+ "*.\n"
+ "\n".join(["\t\t - " + rule for rule in rules_list]),
},
},
Expand Down

0 comments on commit 448ab66

Please sign in to comment.