fe6d70a51d1a575313906708cf4bcda767b11d07,cellprofiler/measurements.py,Measurements,apply_metadata,#Measurements#Any#Any#,374

Before Change


        result = ""
        while True:
            // Replace double \\ with \
            m = re.search("\\\\\\\\", pattern)
            if m:
                result += pattern[:m.start()]+"\\"
                pattern = pattern[m.end():]
                continue
            // Replace a tag
            m = re.search("\\(\\?[<](.+?)[>]\\)", pattern)
            if not m:
                m = re.search("\\\\g[<](.+?)[>]", pattern)
                if not m:

After Change


        
        if image_set_index == None:
            image_set_index = self.image_set_index
        result_pieces = []
        double_backquote = "\\\\"
        single_backquote = "\\"
        for piece in pattern.split(double_backquote):
            // Replace a tag
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: fe6d70a51d1a575313906708cf4bcda767b11d07
Time: 2010-09-20
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/measurements.py
Class Name: Measurements
Method Name: apply_metadata


Project Name: facebookresearch/poincare-embeddings
Commit Name: b07b787e3b487a0d76fd25b00efe8ab30120ffa0
Time: 2020-01-09
Author: lematt1991@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: EpistasisLab/tpot
Commit Name: e513059dd85ee2d9a267c8197386eaf2b135f38a
Time: 2018-09-20
Author: weixuanf@pennmedicine.upenn.edu
File Name: tests/tpot_tests.py
Class Name:
Method Name: test_check_periodic_pipeline_2