CellProfiler / centrosome

An open source image processing library
Other
18 stars 35 forks source link

Fix sorting of cell objects in Python 3 #103

Closed DavidStirling closed 4 years ago

DavidStirling commented 4 years ago

It seems that in Python 3 sorted really doesn't like being asked to sort tuples which contain objects. Explicitly giving the key seems to fix this.