Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Add jobnum to output file and email subject #1

Open
jwkai opened this issue Feb 16, 2022 · 0 comments
Open

Add jobnum to output file and email subject #1

jwkai opened this issue Feb 16, 2022 · 0 comments

Comments

@jwkai
Copy link
Contributor

jwkai commented Feb 16, 2022

Every output file from this tool has the same name (unique_sequence_data.xlsx), making it easy to misplace files. Moreover, the file is sent via email, and all emails contain identical text, so a user cannot easily search their inbox for specific output files.

The solution is to add a jobnum field to the HTML page, and including this in the output filename and email subject line. A timestamp in the filename could also help.

Output filename is generated here:
https://github.com/cfe-lab/unique-sequence/blob/fb77af9591a87284622f6d1a4478abc9753be8b4/unique_sequence.py#L138
and the email is generated here:
https://github.com/cfe-lab/unique-sequence/blob/fb77af9591a87284622f6d1a4478abc9753be8b4/unique_sequence.py#L189-L191

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant