683e0f6232b7e1adb9e9716739c5165c72934ae2,app/grandchallenge/algorithms/tasks.py,,send_failed_jobs_email,#,54
Before Change
if failed_jobs.exists():
// Note: this would not work if you could route jobs to different
// algorithms from 1 upload session, but that is not supported right now
algorithm = failed_jobs.first().algorithm_image.algorithm
creator = failed_jobs.first().creator
experiment_url = reverse(
"algorithms:execution-session-detail",
After Change
@shared_task
def send_failed_jobs_email(*_, upload_session_pk):
session = RawImageUploadSession.objects.get(pk=upload_session_pk)
excluded_images_count = session.image_set.filter(
componentinterfacevalue__algorithms_jobs_as_input__isnull=True
).count()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: comic/grand-challenge.org
Commit Name: 683e0f6232b7e1adb9e9716739c5165c72934ae2
Time: 2020-11-24
Author: 51329283+miriam-groeneveld@users.noreply.github.com
File Name: app/grandchallenge/algorithms/tasks.py
Class Name:
Method Name: send_failed_jobs_email
Project Name: OpenMined/Grid
Commit Name: 3445b5d800148a4a9f252ecbdf4cd54b2fbdf3c8
Time: 2021-03-14
Author: sachinkumar04428@gmail.com
File Name: apps/domain/src/main/core/services/infra_service.py
Class Name:
Method Name: get_workers_msg
Project Name: comic/grand-challenge.org
Commit Name: b2c7e6356a441ec6d8ef4277f2a103c454c2d253
Time: 2019-04-09
Author: code@jmsmkn.com
File Name: app/grandchallenge/workstations/templatetags/workstations.py
Class Name:
Method Name: workstation_url