66d38b7fc3bcb93b187b996487d3ea1acdf75a2c,ilastik/applets/counting/countingSerializer.py,CountingSerializer,isDirty,#CountingSerializer#,287
Before Change
def isDirty(self):
// Check all slots except the prediction slot
serialSlots = set(self.serialSlots)
serialSlots -= set([self.predictionSlot])
result = any(list(ss.dirty for ss in serialSlots))
// Check the prediction slot, but only if prediction storage is enabled
result |= (self.predictionSlot.dirty and self.predictionSlot.predictionStorageEnabled)
After Change
self.predictionSlot.cancel()
def isDirty(self):
for slot in self.serialSlots:
if slot == self.predictionSlot:
continue
if slot.dirty:
return True
if self.predictionSlot.predictionStorageEnabled:
return self.predictionSlot.dirty
return False
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances Project Name: ilastik/ilastik
Commit Name: 66d38b7fc3bcb93b187b996487d3ea1acdf75a2c
Time: 2018-10-08
Author: emilmelnikov@gmail.com
File Name: ilastik/applets/counting/countingSerializer.py
Class Name: CountingSerializer
Method Name: isDirty
Project Name: deepfakes/faceswap
Commit Name: fe664e274814a75b56c2f8aeabcb1a51d8f5d4f0
Time: 2020-10-09
Author: 36920800+torzdf@users.noreply.github.com
File Name: scripts/train.py
Class Name: Train
Method Name: _set_timelapse
Project Name: streamlit/streamlit
Commit Name: d24989cdda816343f74a97fc32ce3fd1a689a265
Time: 2019-07-16
Author: thiago@streamlit.io
File Name: lib/streamlit/Server.py
Class Name:
Method Name: _is_url_from_allowed_origins