b9cb934ba9e6f25edb3a10c9923bb0ec6d5a0ca9,pyCellProfiler/cellprofiler/modules/relate.py,Relate,upgrade_settings,#Relate#Any#Any#Any#Any#,349

Before Change


            variable_revision_number = 4
                
        if from_matlab and variable_revision_number == 4:
            if setting_values[2] in (D_CENTROID, D_BOTH):
                sys.stderr.write("Warning: the Relate module doesn"t currently support the centroid distance measurement\n")
            from_matlab = False
            variable_revision_number = 1
        return setting_values, variable_revision_number, from_matlab

After Change


                                  setting_values[3:])
            from_matlab = False
            variable_revision_number = 1
        if (not from_matlab) and variable_revision_number == 1:
            //
            // Added other distance parents
            //
            wants_step_parent_distances = (
                cps.NO if setting_values[3].upper() == cps.DO_NOT_USE.upper()
                else cps.YES)
            setting_values = (setting_values[:3] +
                              [setting_values[4],
                               wants_step_parent_distances,
                               setting_values[3]])
            variable_revision_number = 2
        return setting_values, variable_revision_number, from_matlab

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: b9cb934ba9e6f25edb3a10c9923bb0ec6d5a0ca9
Time: 2009-12-30
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/modules/relate.py
Class Name: Relate
Method Name: upgrade_settings


Project Name: prody/ProDy
Commit Name: 0b8fa85175f95425807d6d38a38d0c6fae737e57
Time: 2018-05-14
Author: jamesmkrieger@gmail.com
File Name: prody/dynamics/nmdfile.py
Class Name:
Method Name: parseNMD


Project Name: danforthcenter/plantcv
Commit Name: 43046e273364ce94d7083892a2ffe1b5ea5f4f29
Time: 2019-03-01
Author: haleyschuhl@gmail.com
File Name: plantcv/plantcv/rectangle_mask.py
Class Name:
Method Name: rectangle_mask


Project Name: MolSSI/QCEngine
Commit Name: b0feea56d74b89163b906cff1e7f3060a5c53e2f
Time: 2019-09-10
Author: sjrl423@gmail.com
File Name: qcengine/programs/molpro.py
Class Name: MolproHarness
Method Name: build_input