8ca7d6ecb6cf1dadec3c7146babb2c192343b645,ilastik/applets/dataSelection/datasetDetailedInfoTableView.py,DatasetDetailedInfoTableView,dropEvent,#DatasetDetailedInfoTableView#,419
Before Change
def dropEvent(self, dropEvent):
urls = dropEvent.mimeData().urls()
filepaths = list(map(QUrl.toLocalFile, urls))
filepaths = list(map(str, filepaths))
self.addFilesRequestedDrop.emit(filepaths)
def scrollContentsBy(self, dx, dy):
After Change
filepaths = [Path(QUrl.toLocalFile(url)) for url in dropEvent.mimeData().urls()]
starting_lane_index = self.rowAt(dropEvent.pos().y())
// Last row is the button.
if starting_lane_index == self.model().rowCount() - 1:
starting_lane_index = -1
self.addFilesRequestedDrop.emit(filepaths, starting_lane_index)
def scrollContentsBy(self, dx, dy):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: ilastik/ilastik
Commit Name: 8ca7d6ecb6cf1dadec3c7146babb2c192343b645
Time: 2019-10-25
Author: k-dominik@users.noreply.github.com
File Name: ilastik/applets/dataSelection/datasetDetailedInfoTableView.py
Class Name: DatasetDetailedInfoTableView
Method Name: dropEvent
Project Name: layumi/Person_reID_baseline_pytorch
Commit Name: 4888cb7a5299f7eed9214ddc70871dc05ea0f4d2
Time: 2019-03-20
Author: zdzheng12@gmail.com
File Name: model/ft_ResNet50/train.py
Class Name:
Method Name:
Project Name: layumi/Person_reID_baseline_pytorch
Commit Name: 4888cb7a5299f7eed9214ddc70871dc05ea0f4d2
Time: 2019-03-20
Author: zdzheng12@gmail.com
File Name: train.py
Class Name:
Method Name: