a5828c0b7ceb0aa3d95b67943e2b0ee6e7145c64,Orange/data/instance.py,Instance,__str__,#Instance#,42

Before Change


        res = "<"
        res += ", ".join(var.str_val(value)
            for var, value in zip(self.domain.variables, self._values[:5]))
        if len(self._values) > 5:
            res += ", ..., %s" % self.domain.variables[-1].str_val(self._values[-1])
        res += ">"
        if self._metas:
            res += " {"
            res += ", ".join(var.str_val(value)

After Change


        n_attrs = len(self.domain.attributes)
        if n_attrs > 5:
            res += ", ..."
        if self.domain.class_vars:
            res += " | " + ", ".join(var.str_val(value) for var, value in
                zip(self.domain.class_vars, self._values[n_attrs:n_attrs+5]))
        res += "]"
        if self.domain.metas:
            res += " {"
            res += ", ".join(var.str_val(value)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: biolab/orange3
Commit Name: a5828c0b7ceb0aa3d95b67943e2b0ee6e7145c64
Time: 2012-08-25
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/data/instance.py
Class Name: Instance
Method Name: __str__


Project Name: oddt/oddt
Commit Name: e456cc88392f8cc0587b8d79c08678dab0b36e44
Time: 2017-11-23
Author: maciek@wojcikowski.pl
File Name: oddt/toolkits/extras/rdkit.py
Class Name:
Method Name: MolToPDBQTBlock


Project Name: senarvi/theanolm
Commit Name: 07dfdbc7b502a9190ab77cd5e059539cc06c795b
Time: 2017-06-06
Author: peter@smitmail.eu
File Name: theanolm/scoring/latticedecoder.py
Class Name: LatticeDecoder
Method Name: decode