34d621b7f00c1cd42f34eeae1443c24563786fc3,anvio/tables/hmmhits.py,TablesForHMMHits,populate_search_tables,#TablesForHMMHits#Any#,69

Before Change


                parser = parser_modules["search"]["hmmscan"](hmm_scan_hits_txt, alphabet=alphabet, context=context)
                search_results_dict = parser.get_search_results()

            if not len(search_results_dict):
                run.info_single("The HMM source "%s" returned 0 hits. SAD (but it"s stil OK)." % source, nl_before=1)


            if context == "CONTIG":
                // we are in trouble here. because our search results dictionary contains no gene calls, but contig
                // names that contain our hits. on the other hand, the rest of the code outside of this if statement
                // expects a `search_results_dict` with gene callers id in it. so there are two things we need to do

After Change


                                                           rna_alphabet=True if alphabet=="RNA" else False,
                                                           split_parts=self.num_threads_to_use)

        table_write_lock = Lock()

        def hmm_worker(part_no, source):
            copy_target_files_dict = copy.deepcopy(target_files_dict)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: merenlab/anvio
Commit Name: 34d621b7f00c1cd42f34eeae1443c24563786fc3
Time: 2019-08-23
Author: ozcanesen@gmail.com
File Name: anvio/tables/hmmhits.py
Class Name: TablesForHMMHits
Method Name: populate_search_tables


Project Name: scikit-learn-contrib/categorical-encoding
Commit Name: e7890473e703e7ad0c4ccb04398eec6bf6b4e8a5
Time: 2019-06-17
Author: slliu96@163.com
File Name: category_encoders/hashing.py
Class Name: HashingEncoder
Method Name: transform


Project Name: PaddlePaddle/edl
Commit Name: 60116bb08c885a5fa911331c430384dd52213029
Time: 2020-05-25
Author: wangxi16@baidu.com
File Name: python/paddle_edl/distill/distill_reader.py
Class Name:
Method Name: