ed40bb91d35448ad265d1763f58e479739b881e3,NDVI.py,NDVI,updateRasterInfo,#NDVI#,79
Before Change
def updateRasterInfo(self, **kwargs):
if kwargs.has_key("method"): // update flags based on user input
method = kwargs["method"].lower()
self.applyColormap = method == "colormap"
self.applyScaling = self.applyColormap or method == "grayscale"
After Change
def updateRasterInfo(self, **kwargs):
method = kwargs.get("method", "Colormap").lower()
self.applyColormap = method == "colormap"
self.applyScaling = self.applyColormap or method == "grayscale"
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: Esri/raster-functions
Commit Name: ed40bb91d35448ad265d1763f58e479739b881e3
Time: 2014-09-07
Author: akferoz@esri.com
File Name: NDVI.py
Class Name: NDVI
Method Name: updateRasterInfo
Project Name: Esri/raster-functions
Commit Name: ed40bb91d35448ad265d1763f58e479739b881e3
Time: 2014-09-07
Author: akferoz@esri.com
File Name: NDVI.py
Class Name: NDVI
Method Name: getConfiguration
Project Name: Esri/raster-functions
Commit Name: ed40bb91d35448ad265d1763f58e479739b881e3
Time: 2014-09-07
Author: akferoz@esri.com
File Name: NDVI.py
Class Name: NDVI
Method Name: updateRasterInfo
Project Name: CellProfiler/CellProfiler
Commit Name: f1acc1f6aa07216f68d512faca1c1f80e0afab9f
Time: 2013-08-07
Author: leek@broadinstitute.org
File Name: cellprofiler/modules/createbatchfiles.py
Class Name: CreateBatchFiles
Method Name: alter_path