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

Before Change


            print(":D")
            self.stdout.write("Target file: " + final_context["target_file"])
            self.stdout.write("Target S3: " + str(final_context["computed_files"][0].get_s3_url()))
            sys.exit(0)
        else:
            print(":(")
            sys.exit(-1)

After Change


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

            if options["platform"] is None:
                platform_counts = samples.values("platform_accession_code").annotate(dcount=Count("platform_accession_code")).order_by("-dcount")
                biggest_platform = platform_counts[0]["platform_accession_code"]
            else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

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: GoogleCloudPlatform/professional-services
Commit Name: 834df48ab4c91e2a3ee31439259d6968ba7bd68d
Time: 2019-01-28
Author: pkattamuri@google.com
File Name: tools/hive-bigquery/resource_validator.py
Class Name: ResourceValidator
Method Name: validate


Project Name: GoogleCloudPlatform/professional-services
Commit Name: 238be313a5f9ab1a90106e5330bb960c4c3ff2de
Time: 2019-01-23
Author: pkattamuri@google.com
File Name: tools/hive-bigquery/resource_validator.py
Class Name: ResourceValidator
Method Name: validate


Project Name: MycroftAI/mycroft-precise
Commit Name: 5ce56ff7e7f0c085bdff9745471c50aa4d0e1faa
Time: 2017-11-03
Author: matthew3311999@gmail.com
File Name: precise/stream.py
Class Name:
Method Name: main