59345529cf7663dc4e2b491c483ca47dd50567a4,foreman/data_refinery_foreman/foreman/management/commands/create_compendia.py,Command,handle,#Command#,69

Before Change


        with enough microarray samples except for human and mouse.
        
        if options["organisms"] is None:
            all_organisms = Organism.objects.exclude(name__in=["HOMO_SAPIENS", "MUS_MUSCULUS"])
        else:
            organisms = options["organisms"].upper().replace(" ", "_").split(",")
            all_organisms = Organism.objects.filter(name__in=organisms)

After Change


        // only include organisms with QN targets. We"ll merge groups later.
        all_organisms = Organism.objects.all().filter(qn_target__isnull=False)
        if options["organisms"] is None:
            all_organisms = all_organisms.exclude(name__in=["HOMO_SAPIENS", "MUS_MUSCULUS"])
        else:
            organisms = options["organisms"].upper().replace(" ", "_").split(",")
            all_organisms = all_organisms.filter(name__in=organisms)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: AlexsLemonade/refinebio
Commit Name: 59345529cf7663dc4e2b491c483ca47dd50567a4
Time: 2019-11-06
Author: arielsvn@gmail.com
File Name: foreman/data_refinery_foreman/foreman/management/commands/create_compendia.py
Class Name: Command
Method Name: handle


Project Name: comic/grand-challenge.org
Commit Name: fe7b8c5a500abdd43591cfdcf9f0797bc7780df4
Time: 2018-06-28
Author: pkcakeout@gmail.com
File Name: app/grandchallenge/cases/forms.py
Class Name: DuplicateFileRejecter
Method Name: test


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 1542abe1e397f328be4532a60d542021aa43cc46
Time: 2019-02-27
Author: cuducos@users.noreply.github.com
File Name: jarbas/chamber_of_deputies/twitter.py
Class Name: Twitter
Method Name: queryset