874ead481476247acfcfe06b02a07df3f3c97e0f,src/biotite/structure/charges.py,,_get_parameters,#,77

Before Change


            parameters[i, :] = np.nan
    if has_valence_key_error:
        unparam_valence_names = np.unique(unparam_valence_names)
        unparametrized_valences = np.unique(unparametrized_valences)
        joined_list = []
        for i in range(len(unparam_valence_names)):
            joined_list.append(
                unparam_valence_names[i]

After Change


            )
            joined_list.append(str(unparametrized_valences[i]) + "\n")
            joined_array = np.reshape(
                joined_list, newshape=(len(unparametrized_valences),2)
            )
            joined_array = np.unique(joined_array, axis=0)
            // Array must be flattened in order ro be able to apply the
            // "join" method
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biotite-dev/biotite
Commit Name: 874ead481476247acfcfe06b02a07df3f3c97e0f
Time: 2020-12-05
Author: anter.jacob@gmail.com
File Name: src/biotite/structure/charges.py
Class Name:
Method Name: _get_parameters


Project Name: nicodv/kmodes
Commit Name: 441eb90c3b1167f03b870aa85e34c1111c23d9dc
Time: 2016-03-14
Author: njdevos@gmail.com
File Name: kmodes/kmodes.py
Class Name:
Method Name: k_modes


Project Name: autonomio/talos
Commit Name: a5cf5911849412e56788324fddb989eec0d56978
Time: 2019-03-11
Author: mailme@mikkokotila.com
File Name: talos/commands/kerasmodel.py
Class Name: KerasModel
Method Name: _create_input_model