2cb8599c0ea174253d05c390c1eb7e2eed1d88ec,app/grandchallenge/datasets/models.py,IndexMixin,index,#IndexMixin#,24
Before Change
def index(self: Union["ImageSet", "AnnotationSet"]):
images = self.images.all()
common_prefix = commonprefix([i.name.lower() for i in images])
return {i.sorter_key(start=len(common_prefix)): i for i in images}
class ImageSet(UUIDModel, IndexMixin):
TRAINING = "TRN"
After Change
images = self.images.all()
common_prefix = commonprefix([i.name.lower() for i in images])
if include_shape:
return {
(
find_first_int(instr=i.name[len(common_prefix) :]),
*i.shape,
): i
for i in images
}
else:
return {
find_first_int(instr=i.name[len(common_prefix) :]): i
for i in images
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances Project Name: comic/grand-challenge.org
Commit Name: 2cb8599c0ea174253d05c390c1eb7e2eed1d88ec
Time: 2018-09-02
Author: jamesmeakin@gmail.com
File Name: app/grandchallenge/datasets/models.py
Class Name: IndexMixin
Method Name: index
Project Name: IDSIA/sacred
Commit Name: 0d15284cbdf83502e8df1d9d637ae1fa1f59a55a
Time: 2016-12-21
Author: qwlouse@gmail.com
File Name: sacred/host_info.py
Class Name:
Method Name: get_host_info
Project Name: IDSIA/sacred
Commit Name: 82d573a8775982e3c601d690bdf934c54cc07d54
Time: 2019-10-10
Author: gabrieldemarmiesse@gmail.com
File Name: sacred/experiment.py
Class Name: Experiment
Method Name: get_default_options
Project Name: cesium-ml/cesium
Commit Name: 2ab1119596b420cc696a783271d617562ccf7e28
Time: 2017-03-29
Author: brettnaul@gmail.com
File Name: cesium/featurize.py
Class Name:
Method Name: featurize_single_ts