d03c17c40a2f3874c6b901d75763dcfc1492955c,workers/data_refinery_workers/processors/utils.py,,start_job,#Any#,11
Before Change
if len(batches) == 0:
logger.error("No batches found.", processor_job=job.id)
return {"success": False}
job_context["batches"] = batches
return job_context
After Change
logger.info("Starting processor Job.", processor_job=job.id)
relations = ProcessorJobOriginalFileAssociation.objects.filter(processor_job=job)
original_files = OriginalFile.objects.filter(id__in=relations.values("original_file_id"))
if len(original_files) == 0:
logger.error("No files found.", processor_job=job.id)
job_context["success"] = False
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: AlexsLemonade/refinebio
Commit Name: d03c17c40a2f3874c6b901d75763dcfc1492955c
Time: 2018-03-16
Author: rich@anomos.info
File Name: workers/data_refinery_workers/processors/utils.py
Class Name:
Method Name: start_job
Project Name: comic/grand-challenge.org
Commit Name: 05a86908b5d9b1c90b7f605ce42827ace81b7445
Time: 2020-01-17
Author: haimasree.diag@gmail.com
File Name: app/grandchallenge/cases/views.py
Class Name: RawImageUploadSessionViewSet
Method Name: process_images
Project Name: AlexsLemonade/refinebio
Commit Name: ccad96ea03e77dbce00423f339e7bec58159187a
Time: 2019-12-27
Author: arielsvn@gmail.com
File Name: api/data_refinery_api/views.py
Class Name: DatasetView
Method Name: perform_update
Project Name: comic/grand-challenge.org
Commit Name: 89b70752a9b085689cb1b5cbb9253e7e5799b0d7
Time: 2017-11-17
Author: jamesmeakin@gmail.com
File Name: app/evaluation/signals.py
Class Name:
Method Name: create_evaluation_job