928eca284d5fba7d0551a77b32c656a265a35878,app/grandchallenge/core/management/commands/convertsubmissions.py,Command,handle,#Command#,15
Before Change
parser.add_argument("challenge_short_name", nargs="+", type=str)
def handle(self, *args, **options):
SubmissionToAnnotationSetJob.objects.create(
base=ImageSet.objects.all()[0],
submission=Submission.objects.all()[0],
)
After Change
)
for submission in submissions:
j = SubmissionToAnnotationSetJob.objects.create(
base=base, submission=submission
)
print(f"Created job {j}")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: comic/grand-challenge.org
Commit Name: 928eca284d5fba7d0551a77b32c656a265a35878
Time: 2018-08-27
Author: jamesmeakin@gmail.com
File Name: app/grandchallenge/core/management/commands/convertsubmissions.py
Class Name: Command
Method Name: handle
Project Name: google-research/google-research
Commit Name: 690acfdf4eabb502da80b9bdc4aa5aec63fc0262
Time: 2021-01-18
Author: barron@google.com
File Name: jaxnerf/train.py
Class Name:
Method Name: main
Project Name: google-research/google-research
Commit Name: 690acfdf4eabb502da80b9bdc4aa5aec63fc0262
Time: 2021-01-18
Author: barron@google.com
File Name: jaxnerf/eval.py
Class Name:
Method Name: main