80f136b09da96e3f670dd0f7f2e0b7b923fdcde1,anvio/workflows/metagenomics/__init__.py,MetagenomicsWorkflow,init_target_files,#MetagenomicsWorkflow#,193

Before Change


        // We only merge things if there are multiple samples in the same group
        merged_profiles = [os.path.join(self.dirs_dict["MERGE_DIR"], g, "PROFILE.db") \
                            for g in self.group_names if self.group_sizes[g] > 1]
        target_files.extend(merged_profiles)

        // for groups of size 1 we create a message file
        message_file_for_groups_of_size_1 = [os.path.join(self.dirs_dict["MERGE_DIR"], g, "README.txt") \
                            for g in self.group_names if self.group_sizes[g] == 1]

After Change


                                                            self.samples_information.loc[self.samples_information["group"]==group,"sample"].values[0],
                                                            "PROFILE.db")

        target_files.extend(list(self.profile_databases.values()))

        // for groups of size 1 we create a message file
        message_file_for_groups_of_size_1 = [os.path.join(self.dirs_dict["MERGE_DIR"], g, "README.txt") \
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: merenlab/anvio
Commit Name: 80f136b09da96e3f670dd0f7f2e0b7b923fdcde1
Time: 2019-10-18
Author: alon.shaiber@gmail.com
File Name: anvio/workflows/metagenomics/__init__.py
Class Name: MetagenomicsWorkflow
Method Name: init_target_files


Project Name: tyarkoni/pliers
Commit Name: 9d478d351665502019ac40a7302e769b9d3f6660
Time: 2018-04-17
Author: quinten.mcnamara@gmail.com
File Name: pliers/extractors/api/google.py
Class Name: GoogleVideoIntelligenceAPIExtractor
Method Name: _to_df


Project Name: openml/openml-python
Commit Name: 67f8e19ec14eed5f58893be6bee44e50519ea2c4
Time: 2017-05-23
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/test_flows/test_flow.py
Class Name: TestFlow
Method Name: test_sklearn_to_upload_to_flow