477a5bd10b53b4715f9707c8af7aac4cdba31a6a,anvio/contigops.py,Auxiliary,__init__,#Auxiliary#Any#Any#Any#Any#Any#,152

Before Change


                raise ConfigError("Auxiliary :: You want to profile SCVs. That"s great! But in that "
                                  "case self.split.gene_calls must not be None")

            if "base_pos_in_codon" not in self.split.per_position_info:
                raise ConfigError("Auxiliary :: This split does not contain the info required for SCV profiling")

After Change


        self.cdn_to_array_index = {cdn: i for i, cdn in enumerate(constants.codons)}

        if self.profile_SCVs:
            if not all([necessary in self.split.per_position_info for necessary in ["forward", "gene_start", "gene_stop"]]):
                raise ConfigError("Auxiliary :: self.split.per_position_info does not contain the info required for SCV profiling")

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: merenlab/anvio
Commit Name: 477a5bd10b53b4715f9707c8af7aac4cdba31a6a
Time: 2020-02-26
Author: kiefl.evan@gmail.com
File Name: anvio/contigops.py
Class Name: Auxiliary
Method Name: __init__


Project Name: apple/coremltools
Commit Name: 08c7d5f49242ddcd978eddd2dc69cf2837732cfc
Time: 2021-04-09
Author: 59999602+a99user@users.noreply.github.com
File Name: coremltools/converters/onnx/_transformers.py
Class Name: CastOpRemover
Method Name: __call__


Project Name: brian-team/brian2
Commit Name: da0932fbef2254a50e1b4c6b6eb1176715dcc421
Time: 2015-10-26
Author: dg.github@thesamovar.net
File Name: brian2/core/base.py
Class Name: BrianObject
Method Name: __init__