9e9356fd14e49fd1ab5949768385c5bf6657fa40,foreman/data_refinery_foreman/foreman/management/commands/feed_the_beast.py,Command,handle,#Command#,23

Before Change


                    accession_code = missing_accessions.pop()
                    try:
                        queue_surveyor_for_accession(accession_code)
                        time.sleep(30)
                    except:
                        // We don"t want to stop, gotta keep feeding the beast!!!!
                        logger.exception("Exception caught while looping through all accessions!",
                                         accession_code=accession_code)

After Change


            all_rna_accessions = [line.strip() for line in accession_list_file]

        with open("config/all_microarray_accessions.txt") as accession_list_file:
            all_microarray_accessions = [line.strip() for line in accession_list_file]

        all_accessions = all_microarray_accessions + all_rna_accession

        BATCH_SIZE = 1000
        batch_index = 0
        batch_accessions = all_accessions[0:BATCH_SIZE]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: AlexsLemonade/refinebio
Commit Name: 9e9356fd14e49fd1ab5949768385c5bf6657fa40
Time: 2019-09-13
Author: davidsmejia@gmail.com
File Name: foreman/data_refinery_foreman/foreman/management/commands/feed_the_beast.py
Class Name: Command
Method Name: handle


Project Name: NervanaSystems/coach
Commit Name: f5ba14575c9555b1d957f86d54f57050f129efdd
Time: 2019-05-28
Author: 46447582+anabwan@users.noreply.github.com
File Name: rl_coach/tests/utils/args_utils.py
Class Name:
Method Name: validate_arg_result


Project Name: bokeh/bokeh
Commit Name: 947e3c02d66cb62192ee1ea5e4a71d47b3477b33
Time: 2015-12-19
Author: bryanv@continuum.io
File Name: examples/embed/widget.py
Class Name:
Method Name:


Project Name: pantsbuild/pants
Commit Name: 7c355f4ee18b25fcab7c501ba0b531ac1b564350
Time: 2018-01-25
Author: kwlzn@users.noreply.github.com
File Name: src/python/pants/pantsd/service/store_gc_service.py
Class Name: StoreGCService
Method Name: run