Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add register and token actions, improve message content and format #13

Merged
merged 3 commits into from
Nov 7, 2024

Conversation

kjsanger
Copy link
Member

@kjsanger kjsanger commented Nov 6, 2024

Use Study rather study_id to build the message body.

Fix missing domain argument.

Bump npg-python-lib from 0.3.2 to 0.3.4

Use Study rather study_id to build the message body.

Fix missing domain argument.

Bump npg-python-lib from 0.3.2 to 0.3.4
@kjsanger kjsanger added bug Something isn't working enhancement New feature or request labels Nov 6, 2024
src/npg_notify/ont/event.py Outdated Show resolved Hide resolved
"\n"
f"{path}\n"
"\n"
"This is an automated email from NPG. You are receiving it because you are registered\n"
"as a contact for one or more of the Studies listed below:\n"
"This is an automated email from NPG. You are receiving it because you are registered as a contact for one or more of the Studies listed below:\n"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notifications for Illumina and PacBio platforms have a standard footer. Do we really want ONT notifications to be different?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one?

"If you have any questions or need further assistance, please feel "
+ "free to reach out to a Scientific Service Representative at "
+ f"dnap-ssr@{domain}.",
"",
"NPG on behalf of DNA Pipelines\n",

Yes, it's good for it to be the same.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Lines 152-154 were added on request by SSRs

Copy link
Member Author

@kjsanger kjsanger Nov 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm also expecting to add a few other details in the week or two after it's live - listing the plate barcodes and tag names/sequences.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Footer added

@kjsanger kjsanger requested a review from mgcam November 7, 2024 14:25
@mgcam mgcam merged commit 43056a7 into wtsi-npg:devel Nov 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants