6f7a938b19f6089707fe03754eb7c823c036b728,workers/data_refinery_workers/processors/management/commands/create_qn_target.py,Command,handle,#Command#,44

Before Change


        

        if options["organism"] is None:
            logger.error("You must specify an organism")
            sys.exit(1)

        organism = Organism.get_object_for_name(options["organism"].upper())
        samples = Sample.processed_objects.filter(organism=organism, has_raw=True, technology="MICROARRAY", is_processed=True)

After Change


            if samples.count() < options["min"]:
                logger.error("Proccessed samples don"t meet minimum threshhold",
                    organism=organism,
                    count=samples.count(),
                    min=options["min"]
                )
                continue
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: AlexsLemonade/refinebio
Commit Name: 6f7a938b19f6089707fe03754eb7c823c036b728
Time: 2019-01-18
Author: miserlou@gmail.com
File Name: workers/data_refinery_workers/processors/management/commands/create_qn_target.py
Class Name: Command
Method Name: handle


Project Name: MTG/freesound
Commit Name: 0f7bacc26eec44c9f00f5d7666c1f87f0e051ce2
Time: 2017-11-10
Author: andres.ferraro@upf.edu
File Name: search/management/commands/post_dirty_sounds_to_solr.py
Class Name: Command
Method Name: handle


Project Name: MTG/freesound
Commit Name: 0f7bacc26eec44c9f00f5d7666c1f87f0e051ce2
Time: 2017-11-10
Author: andres.ferraro@upf.edu
File Name: search/management/commands/reindex_solr.py
Class Name: Command
Method Name: handle