34fb7ae750095c01926f7af255da89ebf741cb61,app/grandchallenge/algorithms/tasks.py,,send_failed_jobs_email,#,78

Before Change


            f"Experiment ID: {upload_session_pk}"
        )

        for email in {
            creator.email,
            *[o.email for o in algorithm.editors_group.user_set.all()],
        }:
            send_mail(
                subject=(
                    f"[{Site.objects.get_current().domain.lower()}] "

After Change


        if session_pk is not None:
            message += f"Experiment ID: {session_pk}\n"

        receivers = {o.email for o in algorithm.editors_group.user_set.all()}
        if creator is not None:
            receivers.add(creator.email)

        for email in receivers:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: comic/grand-challenge.org
Commit Name: 34fb7ae750095c01926f7af255da89ebf741cb61
Time: 2020-11-30
Author: HarmvZ@users.noreply.github.com
File Name: app/grandchallenge/algorithms/tasks.py
Class Name:
Method Name: send_failed_jobs_email


Project Name: soft-matter/trackpy
Commit Name: 45c774c388e79475e4537c859c6e59e6b7a39d2a
Time: 2021-02-13
Author: hugovk@users.noreply.github.com
File Name: trackpy/_version.py
Class Name:
Method Name: git_versions_from_keywords


Project Name: stellargraph/stellargraph
Commit Name: e89e50ed74cf24ea69863040fb87955b87aa3ee4
Time: 2018-12-10
Author: andrew.docherty@data61.csiro.au
File Name: stellargraph/mapper/node_mappers.py
Class Name: NodeSequence
Method Name: __init__